#18741: merge with 3.3.

This commit is contained in:
Ezio Melotti 2013-08-17 16:13:22 +03:00
commit e0c69161bc
22 changed files with 38 additions and 36 deletions

View file

@ -1146,7 +1146,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)