This commit is contained in:
Joffrey F 2015-04-22 17:45:56 -07:00
parent d0a49ec3b8
commit c328be7deb
1 changed files with 0 additions and 6 deletions

View File

@ -5,12 +5,6 @@ import six
class BaseTestCase(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(BaseTestCase, self).__init__(*args, **kwargs)
if six.PY2:
self.assertRegex = self.assertRegexpMatches
self.assertCountEqual = self.assertItemsEqual
def assertIn(self, object, collection):
if six.PY2 and sys.version_info[1] <= 6:
return self.assertTrue(object in collection)