summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2022-01-05 13:02:38 -0500
committerAnthony Sottile <asottile@umich.edu>2022-01-05 13:02:38 -0500
commit3c885219b56ec5755c44d1649be973ae206806de (patch)
tree3cae12eaebc3dc0d4049a8a5d0871fc204b2d70a /tests
parentf0fb7868832486091e26072e53ead5e50bdf3e64 (diff)
downloadflake8-new_namedtuple.tar.gz
use typesafe NamedTuplenew_namedtuple
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_style_guide.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_style_guide.py b/tests/unit/test_style_guide.py
index da28355..e4aaff2 100644
--- a/tests/unit/test_style_guide.py
+++ b/tests/unit/test_style_guide.py
@@ -34,7 +34,7 @@ def test_handle_error_does_not_raise_type_errors():
)
assert 1 == guide.handle_error(
- "T111", "file.py", 1, None, "error found", "a = 1"
+ "T111", "file.py", 1, 1, "error found", "a = 1"
)