Skip to content

Commit 0c369d6

Browse files
authored
Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to RuntimeError (#108847)
1 parent 03c4080 commit 0c369d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_unittest/testmock/testmock.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ def test_misspelled_arguments(self):
22702270
class Foo():
22712271
one = 'one'
22722272
# patch, patch.object and create_autospec need to check for misspelled
2273-
# arguments explicitly and throw a RuntimError if found.
2273+
# arguments explicitly and throw a RuntimeError if found.
22742274
with self.assertRaises(RuntimeError):
22752275
with patch(f'{__name__}.Something.meth', autospect=True): pass
22762276
with self.assertRaises(RuntimeError):

0 commit comments

Comments
 (0)