summaryrefslogtreecommitdiff
path: root/tests/unittest_regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittest_regrtest.py')
-rw-r--r--tests/unittest_regrtest.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/unittest_regrtest.py b/tests/unittest_regrtest.py
index 8224494b..92ed5b65 100644
--- a/tests/unittest_regrtest.py
+++ b/tests/unittest_regrtest.py
@@ -306,21 +306,6 @@ def test():
)
next(node.infer())
- @require_version(maxver="3.0")
- def test_reassignment_in_except_handler(self):
- node = extract_node(
- """
- import exceptions
- try:
- {}["a"]
- except KeyError, exceptions.IndexError:
- pass
-
- IndexError #@
- """
- )
- self.assertEqual(len(node.inferred()), 1)
-
class Whatever:
a = property(lambda x: x, lambda x: x)