summaryrefslogtreecommitdiff
path: root/tests/test_phystokens.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_phystokens.py')
-rw-r--r--tests/test_phystokens.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py
index 5807f00d..2f1f7307 100644
--- a/tests/test_phystokens.py
+++ b/tests/test_phystokens.py
@@ -103,7 +103,7 @@ class PhysTokensTest(CoverageTest):
# Check the tokenization of the stress-test files.
# And check that those files haven't been incorrectly "fixed".
with warnings.catch_warnings():
- warnings.filterwarnings("ignore", message=r".*invalid escape sequence",)
+ warnings.filterwarnings("ignore", message=r".*invalid escape sequence")
stress = os.path.join(TESTS_DIR, fname)
self.check_file_tokenization(stress)