]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to RuntimeEr...
authorSangyun_LEE <falconlee236@cau.ac.kr>
Sun, 3 Sep 2023 21:19:49 +0000 (06:19 +0900)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2023 21:19:49 +0000 (22:19 +0100)
Lib/test/test_unittest/testmock/testmock.py

index bb09913d70b7cab1dce2f471dd78ffeca5fa73e7..d23eb87696f4061fdb2cb07f81489927f2db5c44 100644 (file)
@@ -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):