Browse Source

Update the f-string test broken in issue #28385.

Serhiy Storchaka 9 years ago
parent
commit
4eebf8477a
  1. 2
      Lib/test/test_fstring.py

2
Lib/test/test_fstring.py

@ -720,7 +720,7 @@ f'{a * x()}'"""
def test_errors(self):
# see issue 26287
self.assertAllRaise(TypeError, 'non-empty',
self.assertAllRaise(TypeError, 'unsupported',
[r"f'{(lambda: 0):x}'",
r"f'{(0,):x}'",
])

Loading…
Cancel
Save