Skip to content
Snippets Groups Projects
Commit cd43159b authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fix unit tests

parent 9b1dbbf3
No related branches found
No related tags found
No related merge requests found
__version__ = '2.17.6a1' __version__ = '2.17.5'
...@@ -24,9 +24,9 @@ class TestDecorators(unittest.TestCase): ...@@ -24,9 +24,9 @@ class TestDecorators(unittest.TestCase):
class Test: class Test:
def close(self, a): def close(self, b):
slf.assertEqual(a, 2)
nonlocal a nonlocal a
slf.assertEqual(b, 2)
a['called'] = True a['called'] = True
@call_method_on_exception(ValueError, 'close', 2) @call_method_on_exception(ValueError, 'close', 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment