From d229549101dc7d0fa4ca13221563c79098ebf56a Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Mon, 15 Jan 2018 17:50:10 +0300 Subject: [PATCH] Tests: fixed arguments order in getattr() call. --- test/unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit.py b/test/unit.py index d3d00fe0..2061e3e1 100644 --- a/test/unit.py +++ b/test/unit.py @@ -29,7 +29,7 @@ class TestUnit(unittest.TestCase): shutil.rmtree(self.testdir) def assertTry(self, assert_method, description, *args): - try: getattr(self, assert_method)(*args, description) + try: getattr(self, assert_method)(*args, msg=description) except AssertionError: print('not yet: ' + description) def check_modules(self, *modules):