Skip to content

Commit 0329b48

Browse files
committed
Use assertIsInstance
1 parent 9280100 commit 0329b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_fmtstr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,8 @@ def test_oomerror(self):
579579
class FormatStringTest(unittest.TestCase):
580580
def assertFSArraysEqual(self, a, b):
581581
# type: (FSArray, FSArray) -> None
582-
self.assertEqual(type(a), FSArray)
583-
self.assertEqual(type(b), FSArray)
582+
self.assertIsInstance(a, FSArray)
583+
self.assertIsInstance(b, FSArray)
584584
self.assertEqual(
585585
(a.width, b.height),
586586
(a.width, b.height),

0 commit comments

Comments
 (0)