Fix tests, skip more Python 2

This commit is contained in:
Dave Halter
2019-12-31 22:43:32 +01:00
parent dfd7910dd3
commit 8914bbbcc3
2 changed files with 2 additions and 0 deletions

View File

@@ -388,6 +388,7 @@ k = 'a'
#? int() #? int()
some_dct[k] some_dct[k]
# python > 3.5
some_other_dct = dict(some_dct, c=set) some_other_dct = dict(some_dct, c=set)
#? int() #? int()
some_other_dct['a'] some_other_dct['a']

View File

@@ -326,6 +326,7 @@ _dict_keys_completion_tests = [
] ]
@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL")
@pytest.mark.parametrize( @pytest.mark.parametrize(
'added_code, column, expected', _dict_keys_completion_tests 'added_code, column, expected', _dict_keys_completion_tests
) )