-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Description
Hey, looks like typo in about_scope.py:73
def test_incrementing_with_local_counter(self):
global counter
start = counter
self.increment_using_local_counter(start) # should be `counter` instead of `start`
self.assertEqual(False, counter == start + 1)
Yes, in both cases the answer is False. But logically in start
we should keep initial value and then compare with modified counter
.
Metadata
Metadata
Assignees
Labels
No labels