diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-01-24 15:43:04 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-01-24 15:43:04 +0300 |
commit | 331514fcf75dde719267efc970979524312d268e (patch) | |
tree | 6a283e37438734661d4afad0e08e95ad6cb1b1f9 /test/unit.py | |
parent | 771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd (diff) | |
download | unit-331514fcf75dde719267efc970979524312d268e.tar.gz unit-331514fcf75dde719267efc970979524312d268e.tar.bz2 |
Tests: using "expectedFailure" decorator instead of assertTry().
Diffstat (limited to '')
-rw-r--r-- | test/unit.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit.py b/test/unit.py index 87fbd029..38c001ba 100644 --- a/test/unit.py +++ b/test/unit.py @@ -28,10 +28,6 @@ class TestUnit(unittest.TestCase): if '--leave' not in sys.argv: shutil.rmtree(self.testdir) - def assertTry(self, assert_method, description, *args): - try: getattr(self, assert_method)(*args, msg=description) - except AssertionError: print('not yet: ' + description) - def check_modules(self, *modules): self._run() |