summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock/testmagicmethods.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 14:19:51 (GMT)
committerGitHub <noreply@github.com>2017-12-14 14:19:51 (GMT)
commit28453feaa8d88bbcbf6d834b1d5ca396d17265f2 (patch)
treee228f9ddb6795965d302e6d16c2e4bfb0b074d17 /Lib/unittest/test/testmock/testmagicmethods.py
parent645fa19f15cddeec8d882a9e1420173e7516f0e4 (diff)
downloadcpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.zip
cpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.tar.gz
cpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.tar.bz2
[3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864)
* [3.6] bpo-32297: Few misspellings found in Python source code comments. (GH-4803) * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py. (cherry picked from commit 53f7a7c2814fbfd8a29200926601a32fa48bacb3)
Diffstat (limited to 'Lib/unittest/test/testmock/testmagicmethods.py')
-rw-r--r--Lib/unittest/test/testmock/testmagicmethods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/testmock/testmagicmethods.py b/Lib/unittest/test/testmock/testmagicmethods.py
index 24569b5..4186c8e 100644
--- a/Lib/unittest/test/testmock/testmagicmethods.py
+++ b/Lib/unittest/test/testmock/testmagicmethods.py
@@ -450,7 +450,7 @@ class TestMockingMagicMethods(unittest.TestCase):
self.assertIsInstance(bar_direct, MagicMock)
# http://bugs.python.org/issue23310
- # Check if you can change behaviour of magic methds in MagicMock init
+ # Check if you can change behaviour of magic methods in MagicMock init
def test_magic_in_initialization(self):
m = MagicMock(**{'__str__.return_value': "12"})
self.assertEqual(str(m), "12")