diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-06-03 22:40:27 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-06-03 22:40:27 (GMT) |
commit | 5d36a55eaa55d34bfaf91135920688d0cbc6fc5f (patch) | |
tree | 988a9c2847c26e4667de98e0fe6634e0659a3ba1 /Lib/test/test_marshal.py | |
parent | 6b95f1d963d3fd2dcc2e84e83b514364e9f52006 (diff) | |
download | cpython-5d36a55eaa55d34bfaf91135920688d0cbc6fc5f.zip cpython-5d36a55eaa55d34bfaf91135920688d0cbc6fc5f.tar.gz cpython-5d36a55eaa55d34bfaf91135920688d0cbc6fc5f.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_marshal.py')
-rw-r--r-- | Lib/test/test_marshal.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index b66eef5..22cf63d 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) |