Browse Source

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

rdb 2 weeks ago
parent
commit
12b5fafa9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/event/test_futures.py

+ 1 - 1
tests/event/test_futures.py

@@ -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: