tests: Fix future tests always failing on Python pre-3.5
This commit is contained in:
parent
8177021155
commit
12b5fafa9f
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue