Skip to content

Commit

Permalink
chore(test): Move assert_ to assertTrue (#2382)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Fuss <jfuss@users.noreply.github.com>
  • Loading branch information
jfuss and jfuss committed Apr 22, 2022
1 parent 6638c32 commit 366fc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/test_py27hash_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_py27_hash(self):

def test_deepcopy(self):
a = Py27UniStr("abcdef")
self.assert_(a is copy.deepcopy(a)) # deepcopy should give back the same object
self.assertTrue(a is copy.deepcopy(a)) # deepcopy should give back the same object


class TestPy27LongInt(TestCase):
Expand All @@ -123,7 +123,7 @@ def test_serialized_dict_with_normal_int(self):

def test_deepcopy(self):
a = Py27LongInt(10)
self.assert_(a is copy.deepcopy(a)) # deepcopy should give back the same object
self.assertTrue(a is copy.deepcopy(a)) # deepcopy should give back the same object


class TestPy27Keys(TestCase):
Expand Down

0 comments on commit 366fc39

Please sign in to comment.