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:
parent
45add1e3d6
commit
60e19a054a
@ -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 == {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user