summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-08-30 20:21:19 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-08-30 20:21:19 (GMT)
commit39d87b54715197ca9dcb6902bb43461c0ed701a2 (patch)
tree778362acb785069882291e2e39f64fd395d73889 /Lib/unittest
parent15119bc2a7e902ae1c6988556c3bef3de87fa789 (diff)
downloadcpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.zip
cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.gz
cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.bz2
Fix typos mostly in comments, docs and test names (GH-15209)
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/test/testmock/testpatch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/unittest/test/testmock/testpatch.py b/Lib/unittest/test/testmock/testpatch.py
index 27914a9..0632d95 100644
--- a/Lib/unittest/test/testmock/testpatch.py
+++ b/Lib/unittest/test/testmock/testpatch.py
@@ -1651,7 +1651,7 @@ class PatchTest(unittest.TestCase):
p1.stop()
self.assertEqual(squizz.squozz, 3)
- def test_patch_propogrates_exc_on_exit(self):
+ def test_patch_propagates_exc_on_exit(self):
class holder:
exc_info = None, None, None
@@ -1680,9 +1680,9 @@ class PatchTest(unittest.TestCase):
self.assertIs(holder.exc_info[0], RuntimeError)
self.assertIsNotNone(holder.exc_info[1],
- 'exception value not propgated')
+ 'exception value not propagated')
self.assertIsNotNone(holder.exc_info[2],
- 'exception traceback not propgated')
+ 'exception traceback not propagated')
def test_create_and_specs(self):