summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorMike <mehanig@gmail.com>2017-12-14 11:04:53 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 11:04:53 (GMT)
commit53f7a7c2814fbfd8a29200926601a32fa48bacb3 (patch)
tree4f74255b4cf6af46480b3e48bdc2411dfede9e15 /Lib/unittest
parent5364b5cd7571f2dfa75acd37b388c14ac33fef73 (diff)
downloadcpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.zip
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.gz
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.bz2
bpo-32297: Few misspellings found in Python source code comments. (#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
Diffstat (limited to 'Lib/unittest')
-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 7993db3..37623dc 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")