Commit 667479d5 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Wrap line longer than 80 characters.

Reviewed-by: ultrotter
parent f0990e0c
......@@ -335,7 +335,8 @@ class TestParseUnit(unittest.TestCase):
for sep in ('', ' ', ' ', "\t", "\t "):
for suffix, scale in TestParseUnit.SCALES:
for func in (lambda x: x, str.lower, str.upper):
self.assertEqual(ParseUnit('1024' + sep + func(suffix)), 1024 * scale)
self.assertEqual(ParseUnit('1024' + sep + func(suffix)),
1024 * scale)
def testInvalidInput(self):
for sep in ('-', '_', ',', 'a'):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment