mirror of https://github.com/docker/docker-py.git
revert
This commit is contained in:
parent
d0a49ec3b8
commit
c328be7deb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue