summaryrefslogtreecommitdiff
path: root/_test/test_deprecation.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/test_deprecation.py')
-rw-r--r--_test/test_deprecation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/_test/test_deprecation.py b/_test/test_deprecation.py
index 35cb095..14acd71 100644
--- a/_test/test_deprecation.py
+++ b/_test/test_deprecation.py
@@ -6,7 +6,8 @@ import sys
import pytest # NOQA
-@pytest.mark.skipif(sys.version_info < (3, 7), reason='collections not available?')
+@pytest.mark.skipif(sys.version_info < (3, 7) or sys.version_info >= (3, 9),
+ reason='collections not available?')
def test_collections_deprecation():
with pytest.warns(DeprecationWarning):
from collections import Hashable # NOQA