Skip to content

Commit

Permalink
Shrink assertion failure message in test
Browse files Browse the repository at this point in the history
Related to #3.
  • Loading branch information
mgedmin committed Apr 13, 2018
1 parent 7432317 commit 56aaeb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dozer/tests/test_reftree.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_count_objects(self):
gc.collect()
obj = MyObj()
res = count_objects()
self.assertIn((1, MyObj), res)
self.assertIn((1, MyObj), [(n, c) for (n, c) in res if c is MyObj])


class TestReferentTree(unittest.TestCase):
Expand Down

0 comments on commit 56aaeb7

Please sign in to comment.