1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

#N/A: Replace PY3 checks with PY2 checks

This commit is contained in:
nvbn 2016-01-22 17:02:08 +03:00
parent 45add1e3d6
commit 60e19a054a

View File

@ -162,10 +162,10 @@ class TestCache(object):
@pytest.fixture
def key(self):
if six.PY3:
return 'tests.test_utils.<function TestCache.fn.<locals>.fn '
else:
if six.PY2:
return 'tests.test_utils.<function fn '
else:
return 'tests.test_utils.<function TestCache.fn.<locals>.fn '
def test_with_blank_cache(self, shelve, fn, key):
assert shelve == {}