diff --git a/tests/test_utils.py b/tests/test_utils.py index 13bd99ab..53027675 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -162,10 +162,10 @@ class TestCache(object): @pytest.fixture def key(self): - if six.PY3: - return 'tests.test_utils..fn ' - else: + if six.PY2: return 'tests.test_utils..fn ' def test_with_blank_cache(self, shelve, fn, key): assert shelve == {}