From 7adb0477931b63e33e8a68207b4f8c844d983666 Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Sun, 31 Jul 2016 11:39:54 -0500 Subject: [PATCH] flake8 --- tests/test_post.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_post.py b/tests/test_post.py index 5fd760eda5..1c0971d216 100644 --- a/tests/test_post.py +++ b/tests/test_post.py @@ -49,11 +49,12 @@ def test_coerce_pycache_to_old_style(): os.chdir(tmp) for root, dirs, files in os.walk(tmp): - fs = [os.path.join(root, f) for f in files] + fs = [os.path.join(root, _) for _ in files] post.coerce_pycache_to_old_style(fs) try: assert os.path.isfile(os.path.join(tmp, 'test.pyc')), os.listdir(tmp) - assert os.path.isfile(os.path.join(tmp, 'testdir', 'test.pyc')), os.listdir(os.path.join(tmp, 'testdir')) + assert os.path.isfile(os.path.join(tmp, 'testdir', 'test.pyc')), \ + os.listdir(os.path.join(tmp, 'testdir')) for root, dirs, files in os.walk(tmp): assert '__pycache__' not in dirs except: