summaryrefslogtreecommitdiff
path: root/tests/test_pragma_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pragma_parser.py')
-rw-r--r--tests/test_pragma_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pragma_parser.py b/tests/test_pragma_parser.py
index 473f2048b..7bf00c7a3 100644
--- a/tests/test_pragma_parser.py
+++ b/tests/test_pragma_parser.py
@@ -32,7 +32,7 @@ def test_simple_pragma_no_messages() -> None:
assert match
for pragma_repr in parse_pragma(match.group(2)):
assert pragma_repr.action == "skip-file"
- assert pragma_repr.messages == []
+ assert not pragma_repr.messages
def test_simple_pragma_multiple_messages() -> None: