Skip to content

Commit

Permalink
TEST: assertIsInstance doesn't exist on 2.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Sanderson authored and rgbkrk committed Oct 25, 2017
1 parent d84980c commit bda339f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cloudpickle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def test_namedtuple(self):
t = MyTuple(1, 2, 3)

depickled_t, depickled_MyTuple = pickle_depickle([t, MyTuple])
self.assertIsInstance(depickled_t, depickled_MyTuple)
self.assertTrue(isinstance(depickled_t, depickled_MyTuple))

self.assertEqual((depickled_t.a, depickled_t.b, depickled_t.c), (1, 2, 3))
self.assertEqual((depickled_t[0], depickled_t[1], depickled_t[2]), (1, 2, 3))
Expand Down

0 comments on commit bda339f

Please sign in to comment.