You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
353 B

# coding: utf-8
from __future__ import print_function
import sys
import pytest # NOQA
@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