Skip to content

Commit 9f9f7c0

Browse files
committed
Limit try-except-star to Python 3.11 and above
1 parent 00ff3c3 commit 9f9f7c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ropetest/refactor/extracttest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,7 @@ def g():
18091809
""")
18101810
self.assertEqual(expected, refactored)
18111811

1812+
@testutils.only_for_versions_higher("3.11")
18121813
def test_extract_method_and_try_except_star_block_1(self):
18131814
code = dedent("""\
18141815
def f():

0 commit comments

Comments
 (0)