mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-28 07:48:48 +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
|
should_realise = False
|
||||||
|
|
||||||
def gen():
|
def gen():
|
||||||
nonlocal should_realise
|
|
||||||
yield CorrectedCommand('git commit')
|
yield CorrectedCommand('git commit')
|
||||||
yield CorrectedCommand('git branch', priority=200)
|
yield CorrectedCommand('git branch', priority=200)
|
||||||
assert should_realise
|
assert should_realise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user