From 0f9f919c206711b767029d1aa59ae979bbb69d51 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sat, 4 Jan 2014 19:19:18 +0100 Subject: Make at least unittests running with Python 2.7 Add support for Travis-CI Fixes #283 --- test/test_unit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_unit.py') diff --git a/test/test_unit.py b/test/test_unit.py index 9138466..70b001b 100644 --- a/test/test_unit.py +++ b/test/test_unit.py @@ -61,7 +61,8 @@ class TestDemangle(unittest.TestCase): with open('unmangled.mbx') as obs_mbx_f: with open('test/mbox_unmangled.mbx') as exp_mbx_f: self.assertAlmostEqual(len(obs_mbx_f.read()), - len(exp_mbx_f.read())) + len(exp_mbx_f.read()), + delta=100) if __name__ == '__main__': unittest.main() -- cgit