Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into extract_with_assign…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
lieryan committed Sep 18, 2021
2 parents cd0ba65 + 54e0812 commit c3a4ac7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ropetest/refactor/extracttest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1926,6 +1926,7 @@ def _g():
''')
self.assertEqual(expected, refactored)

@testutils.only_for_versions_higher('3.8')
def test_extraction_one_line_with_global_variable(self):
code = dedent('''\
g = None
Expand Down Expand Up @@ -1960,6 +1961,7 @@ def _g():
''')
self.assertEqual(expected, refactored)

@testutils.only_for_versions_higher('3.8')
def test_extraction_one_line_with_global_variable_has_postread(self):
code = dedent('''\
g = None
Expand Down

0 comments on commit c3a4ac7

Please sign in to comment.