Explorar o código

Avoid assertIsInstance as it is only available in testtools' TestCase.

Jelmer Vernooij %!s(int64=14) %!d(string=hai) anos
pai
achega
46636058ac
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      dulwich/tests/test_fastexport.py

+ 2 - 2
dulwich/tests/test_fastexport.py

@@ -129,5 +129,5 @@ M 100644 :1 a
 
 """))
         self.assertEquals(2, len(markers))
-        self.assertIsInstance(self.repo[markers["1"]], Blob)
-        self.assertIsInstance(self.repo[markers["2"]], Commit)
+        self.assertTrue(isinstance(self.repo[markers["1"]], Blob))
+        self.assertTrue(isinstance(self.repo[markers["2"]], Commit))