From 5d36a55eaa55d34bfaf91135920688d0cbc6fc5f Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 3 Jun 2005 22:40:27 +0000 Subject: Whitespace normalization. --- Lib/test/test_marshal.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Lib/test/test_marshal.py') diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index b66eef582f..22cf63d316 100644 --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py @@ -78,26 +78,26 @@ class FloatTestCase(unittest.TestCase): self.assertEqual(f, got) # and with version <= 1 (floats marshalled differently then) s = marshal.dumps(f, 1) - got = marshal.loads(s) - self.assertEqual(f, got) + got = marshal.loads(s) + self.assertEqual(f, got) n = sys.maxint * 3.7e-250 while n < small: for expected in (-n, n): f = float(expected) - + s = marshal.dumps(f) got = marshal.loads(s) self.assertEqual(f, got) - + s = marshal.dumps(f, 1) got = marshal.loads(s) self.assertEqual(f, got) - + marshal.dump(f, file(test_support.TESTFN, "wb")) got = marshal.load(file(test_support.TESTFN, "rb")) self.assertEqual(f, got) - + marshal.dump(f, file(test_support.TESTFN, "wb"), 1) got = marshal.load(file(test_support.TESTFN, "rb")) self.assertEqual(f, got) -- cgit v1.2.1