mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#5723: merge with 3.1.
This commit is contained in:
parent
3659f27ad3
commit
6b60fb9148
19 changed files with 253 additions and 218 deletions
|
@ -128,8 +128,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