Просмотр исходного кода

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

rdb 2 недель назад
Родитель
Сommit
12b5fafa9f
1 измененных файлов с 1 добавлено и 1 удалено
  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
         return False
 
 
     if sys.version_info < (3, 5):
     if sys.version_info < (3, 5):
-        return False
+        return True
 
 
     # Make sure that await also returns the values properly
     # Make sure that await also returns the values properly
     with pytest.raises(StopIteration) as e:
     with pytest.raises(StopIteration) as e: