From: Sangyun_LEE Date: Sun, 3 Sep 2023 21:19:49 +0000 (+0900) Subject: Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to RuntimeEr... X-Git-Tag: v3.13.0a1~629 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c369d6cb8c9a73725f5794c84bedf93e46fd27d;p=thirdparty%2FPython%2Fcpython.git Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to RuntimeError (#108847) --- diff --git a/Lib/test/test_unittest/testmock/testmock.py b/Lib/test/test_unittest/testmock/testmock.py index bb09913d70b7..d23eb87696f4 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):