mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
This commit is contained in:
parent
ad1a25f499
commit
34fd4c2019
26 changed files with 38 additions and 40 deletions
|
@ -39,7 +39,7 @@ class RangeTest(unittest.TestCase):
|
|||
self.fail('{}: unexpected excess element {} at '
|
||||
'position {}'.format(test_id, x, i))
|
||||
else:
|
||||
self.fail('{}: wrong element at position {};'
|
||||
self.fail('{}: wrong element at position {}; '
|
||||
'expected {}, got {}'.format(test_id, i, y, x))
|
||||
|
||||
def test_range(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue