diff --git a/tests/test_types.py b/tests/test_types.py index c17f7a58..e8028aa1 100644 --- a/tests/test_types.py +++ b/tests/test_types.py @@ -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