|  | import sys
 | 
						
						
						
							|  | import unittest
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | import six
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | class BaseTestCase(unittest.TestCase):
 | 
						
						
						
							|  |     def assertIn(self, object, collection):
 | 
						
						
						
							|  |         if six.PY2 and sys.version_info[1] <= 6:
 | 
						
						
						
							|  |             return self.assertTrue(object in collection)
 | 
						
						
						
							|  |         return super(BaseTestCase, self).assertIn(object, collection)
 |