From dcc13bd2d2d99868acf6d049518d4ed9f9c45ae0 Mon Sep 17 00:00:00 2001 From: Joseph Frazier <1212jtraceur@gmail.com> Date: Wed, 5 Oct 2016 11:16:43 -0400 Subject: [PATCH] Fix flake8 errors: F841, E265 This commented-out test caused a couple flake8 errors, so get rid of it: * F841 local variable 'cmd' is assigned to but never used * E265 block comment should start with '# ' See https://github.com/nvbn/thefuck/pull/563#discussion_r82104360 --- tests/rules/test_fix_file.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/rules/test_fix_file.py b/tests/rules/test_fix_file.py index 30f5fa1d..46de1a2a 100644 --- a/tests/rules/test_fix_file.py +++ b/tests/rules/test_fix_file.py @@ -227,10 +227,6 @@ def test_get_new_command(mocker, monkeypatch, test): mocker.patch('os.path.isfile', return_value=True) monkeypatch.setenv('EDITOR', 'dummy_editor') - cmd = Command(script=test[0], stdout=test[4], stderr=test[5]) - #assert (get_new_command(cmd, Settings({})) == - # 'dummy_editor {} +{} && {}'.format(test[1], test[2], test[0])) - @pytest.mark.parametrize('test', tests) @pytest.mark.usefixtures('no_memoize')