summaryrefslogtreecommitdiffhomepage
path: root/test/unit.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-01-24 15:43:04 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-01-24 15:43:04 +0300
commit331514fcf75dde719267efc970979524312d268e (patch)
tree6a283e37438734661d4afad0e08e95ad6cb1b1f9 /test/unit.py
parent771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd (diff)
downloadunit-331514fcf75dde719267efc970979524312d268e.tar.gz
unit-331514fcf75dde719267efc970979524312d268e.tar.bz2
Tests: using "expectedFailure" decorator instead of assertTry().
Diffstat (limited to 'test/unit.py')
-rw-r--r--test/unit.py4
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()