summaryrefslogtreecommitdiff
path: root/mock
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-11-05 16:20:25 +0200
committerChris Withers <chris@withers.org>2019-04-30 08:39:55 +0100
commit2df18d018d8ecc84d4064f477162df0d9d3f4bcb (patch)
tree25a00bb2475b12ab4706b50c952bf9f1bffe0bfb /mock
parenta137eb09df64cbc5db24812b400d10dd18c55005 (diff)
downloadmock-2df18d018d8ecc84d4064f477162df0d9d3f4bcb.tar.gz
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. Backports: 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d Signed-off-by: Chris Withers <chris@simplistix.co.uk>
Diffstat (limited to 'mock')
-rw-r--r--mock/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mock/mock.py b/mock/mock.py
index 1bf9a5c..cb0a577 100644
--- a/mock/mock.py
+++ b/mock/mock.py
@@ -1921,7 +1921,7 @@ _all_magics = _magics | _non_defaults
_unsupported_magics = {
'__getattr__', '__setattr__',
- '__init__', '__new__', '__prepare__'
+ '__init__', '__new__', '__prepare__',
'__instancecheck__', '__subclasscheck__',
'__del__'
}