mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
Fix python 2 support
This commit is contained in:
parent
21103d1b50
commit
6dcf9a3a14
@ -23,7 +23,6 @@ class TestSortedCorrectedCommandsSequence(object):
|
||||
should_realise = False
|
||||
|
||||
def gen():
|
||||
nonlocal should_realise
|
||||
yield CorrectedCommand('git commit')
|
||||
yield CorrectedCommand('git branch', priority=200)
|
||||
assert should_realise
|
||||
|
Loading…
x
Reference in New Issue
Block a user