Python 2 compatibility

This commit is contained in:
Dave Halter
2019-12-13 16:58:56 +01:00
parent 92c59180fd
commit 6b9add4264

View File

@@ -213,6 +213,7 @@ def test_property_warnings(stacklevel, allow_unsafe_getattr):
_assert_interpreter_complete('foo.prop.uppe', locals(), expected)
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL")
@pytest.mark.parametrize('class_is_findable', [False, True])
def test__getattr__completions(allow_unsafe_getattr, class_is_findable):
class CompleteGetattr(object):