mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
#18741: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
9ff79f7c46
commit
b5bc353b88
22 changed files with 38 additions and 36 deletions
|
@ -1054,7 +1054,7 @@ test case
|
|||
self.assertWarns(DeprecationWarning, _runtime_warn)
|
||||
|
||||
def testAssertWarnsContext(self):
|
||||
# Believe it or not, it is preferrable to duplicate all tests above,
|
||||
# Believe it or not, it is preferable to duplicate all tests above,
|
||||
# to make sure the __warningregistry__ $@ is circumvented correctly.
|
||||
def _runtime_warn():
|
||||
warnings.warn("foo", RuntimeWarning)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue