Fixed #26125 -- Fixed E731 flake warnings.

This commit is contained in:
userimack 2016-01-23 22:17:07 +05:30 committed by Tim Graham
parent abc0777b63
commit 60586dd737
36 changed files with 176 additions and 75 deletions

View file

@ -126,7 +126,8 @@ class ImmutableListTests(SimpleTestCase):
class DictWrapperTests(SimpleTestCase):
def test_dictwrapper(self):
f = lambda x: "*%s" % x
def f(x):
return "*%s" % x
d = DictWrapper({'a': 'a'}, f, 'xx_')
self.assertEqual(
"Normal: %(a)s. Modified: %(xx_a)s" % d,