Skip to content

Commit

Permalink
Try AlmostEqual.
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Apr 15, 2020
1 parent bb0882a commit 3086dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robust/testing/t_simulation.py
Expand Up @@ -104,7 +104,7 @@ def test_table_diff(self):
f.write('\n')
f.close()

self.assertEqual(open(origfilename, 'r').readlines(), open(filename, 'r').readlines())
self.assertAlmostEqual(open(origfilename, 'r').readlines(), open(filename, 'r').readlines())

TESTS = [TestSimulation]

Expand Down

0 comments on commit 3086dbc

Please sign in to comment.