aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2020-02-12 23:00:44 +0100
committerMartin Vilcans <martin@librador.com>2020-02-12 23:07:17 +0100
commita45b649c175c12be9fb6f8b51854cf3076b5e1bc (patch)
tree250c2bec5256068f79102980197cfaa581db118f /tests
parent53d0566d054c59004aba8f2705ba85a30e7776ac (diff)
downloadscreenplain-a45b649c175c12be9fb6f8b51854cf3076b5e1bc.tar.gz
Replace pep8 with pycodestyle, get rid of warnings
pep8 recommended that change
Diffstat (limited to 'tests')
-rw-r--r--tests/files_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/files_test.py b/tests/files_test.py
index b5a390c..4254f55 100644
--- a/tests/files_test.py
+++ b/tests/files_test.py
@@ -15,7 +15,7 @@ from screenplain.main import main
source_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'files'))
-line_break_re = re.compile('\s*\n\s*')
+line_break_re = re.compile('\\s*\n\\s*')
spaces_re = re.compile('[ \t]+')
@@ -115,4 +115,5 @@ def _create_tests():
):
FileTests.add_file_case(source, expected)
+
_create_tests()