mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
#5723: merge with 3.2.
This commit is contained in:
commit
32e3fdc2d0
19 changed files with 253 additions and 218 deletions
|
@ -127,8 +127,8 @@ def import_fresh_module(name, fresh=(), blocked=(), deprecated=False):
|
|||
|
||||
If deprecated is True, any module or package deprecation messages
|
||||
will be suppressed."""
|
||||
# NOTE: test_heapq and test_warnings include extra sanity checks to make
|
||||
# sure that this utility function is working as expected
|
||||
# NOTE: test_heapq, test_json and test_warnings include extra sanity checks
|
||||
# to make sure that this utility function is working as expected
|
||||
with _ignore_deprecated_imports(deprecated):
|
||||
# Keep track of modules saved for later restoration as well
|
||||
# as those which just need a blocking entry removed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue