Skip to content
Snippets Groups Projects
Commit 667479d5 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Wrap line longer than 80 characters.

Reviewed-by: ultrotter
parent f0990e0c
No related branches found
No related tags found
No related merge requests found
...@@ -335,7 +335,8 @@ class TestParseUnit(unittest.TestCase): ...@@ -335,7 +335,8 @@ class TestParseUnit(unittest.TestCase):
for sep in ('', ' ', ' ', "\t", "\t "): for sep in ('', ' ', ' ', "\t", "\t "):
for suffix, scale in TestParseUnit.SCALES: for suffix, scale in TestParseUnit.SCALES:
for func in (lambda x: x, str.lower, str.upper): 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): def testInvalidInput(self):
for sep in ('-', '_', ',', 'a'): for sep in ('-', '_', ',', 'a'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment