mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-11 23:49:27 +01:00
improved testing crutches for python 2.6
This commit is contained in:
@@ -34,6 +34,10 @@ class TestCase(TC):
|
||||
def assertIn(self, *args, **kw):
|
||||
return super(TestCase, self).assertIn(*args, **kw)
|
||||
|
||||
@_d
|
||||
def assertRegexpMatches(self, *args, **kw):
|
||||
return super(TestCase, self).assertRegexpMatches(*args, **kw)
|
||||
|
||||
def assertIsNone(self, val, msg=None):
|
||||
if not _dummy:
|
||||
return super(TestCase, self).assertIsNone(val, msg)
|
||||
|
||||
Reference in New Issue
Block a user