tests: Fix future tests always failing on Python pre-3.5

This commit is contained in:
rdb 2025-12-23 20:31:56 +01:00
parent 8177021155
commit 12b5fafa9f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def check_result(fut, expected):
return False
if sys.version_info < (3, 5):
return False
return True
# Make sure that await also returns the values properly
with pytest.raises(StopIteration) as e: