diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-05 14:20:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 14:20:25 (GMT) |
commit | 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d (patch) | |
tree | 7219828610de765ae5c41883b590d5c6f598ade2 /Lib/unittest | |
parent | ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1 (diff) | |
download | cpython-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.zip cpython-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.tar.gz cpython-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.tar.bz2 |
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.
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 1977b87..a9c82dc 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1772,7 +1772,7 @@ _all_magics = _magics | _non_defaults _unsupported_magics = { '__getattr__', '__setattr__', - '__init__', '__new__', '__prepare__' + '__init__', '__new__', '__prepare__', '__instancecheck__', '__subclasscheck__', '__del__' } |