blob: f1a54198d9bb9865b8e7b67a071069fe34139a2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# coding: utf-8
from __future__ import print_function
import sys
import pytest # NOQA
@pytest.mark.skipif(sys.version_info < (3, 7), reason="collections not available?")
def test_collections_deprecation():
with pytest.warns(DeprecationWarning):
from collections import Hashable # NOQA
|