summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest
diff options
context:
space:
mode:
authorSangyun_LEE <falconlee236@cau.ac.kr>2023-09-03 21:19:49 (GMT)
committerGitHub <noreply@github.com>2023-09-03 21:19:49 (GMT)
commit0c369d6cb8c9a73725f5794c84bedf93e46fd27d (patch)
treed2aac05dc69480594a205d432a0a32e4ac9a7237 /Lib/test/test_unittest
parent03c4080c71f49df9c219354b7b38b738917fd2ed (diff)
downloadcpython-0c369d6cb8c9a73725f5794c84bedf93e46fd27d.zip
cpython-0c369d6cb8c9a73725f5794c84bedf93e46fd27d.tar.gz
cpython-0c369d6cb8c9a73725f5794c84bedf93e46fd27d.tar.bz2
Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to RuntimeError (#108847)
Diffstat (limited to 'Lib/test/test_unittest')
-rw-r--r--Lib/test/test_unittest/testmock/testmock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unittest/testmock/testmock.py b/Lib/test/test_unittest/testmock/testmock.py
index bb09913..d23eb87 100644
--- a/Lib/test/test_unittest/testmock/testmock.py
+++ b/Lib/test/test_unittest/testmock/testmock.py
@@ -2270,7 +2270,7 @@ class MockTest(unittest.TestCase):
class Foo():
one = 'one'
# patch, patch.object and create_autospec need to check for misspelled
- # arguments explicitly and throw a RuntimError if found.
+ # arguments explicitly and throw a RuntimeError if found.
with self.assertRaises(RuntimeError):
with patch(f'{__name__}.Something.meth', autospect=True): pass
with self.assertRaises(RuntimeError):