summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-01-26 19:07:54 -0500
committerNed Batchelder <ned@nedbatchelder.com>2023-01-26 19:07:54 -0500
commit2d628d40d60f967f135a8c21a62a000716c45054 (patch)
treeddeab6c0cb3309d42b4618891104f2570bc4cbbb /tests/test_parser.py
parent92fe560a9368a5ac32ad5a2a272913b1b0ebfdd5 (diff)
downloadpython-coveragepy-git-2d628d40d60f967f135a8c21a62a000716c45054.tar.gz
style: remove needless trailing commas
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 8009ce51..f74420b5 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -533,7 +533,7 @@ def test_ast_dump() -> None:
num_lines = len(source.splitlines())
with warnings.catch_warnings():
# stress_phystoken.tok has deprecation warnings, suppress them.
- warnings.filterwarnings("ignore", message=r".*invalid escape sequence",)
+ warnings.filterwarnings("ignore", message=r".*invalid escape sequence")
ast_root = ast.parse(source)
result: List[str] = []
ast_dump(ast_root, print=result.append)