summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-05-08 21:38:08 -0400
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-05-09 14:09:51 +0200
commitb42b1f696040334401e8eb5e7b0881f35f2dc35c (patch)
tree88bf0fa7abb50c388239f9445ae5d75344a192eb /tests
parentc09730bd6497daf1c0373783b68b642b11140db8 (diff)
downloadpylint-git-b42b1f696040334401e8eb5e7b0881f35f2dc35c.tar.gz
Add regression test for #6539
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/i/invalid/invalid_name/invalid_name_module_level.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/i/invalid/invalid_name/invalid_name_module_level.py b/tests/functional/i/invalid/invalid_name/invalid_name_module_level.py
index 355969f39..ec2b2769b 100644
--- a/tests/functional/i/invalid/invalid_name/invalid_name_module_level.py
+++ b/tests/functional/i/invalid/invalid_name/invalid_name_module_level.py
@@ -21,3 +21,6 @@ CONSTA, CONSTB, CONSTC = A()
CONSTD = A()
CONST = "12 34 ".rstrip().split()
+
+
+assignment_that_crashed_pylint = type(float.__new__.__code__)