Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
diff --git a/Misc/NEWS b/Misc/NEWS
index 74af147..aa4fa6d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -839,6 +839,12 @@
Tests
-----
+- Issue #5354: New test support function import_fresh_module() makes
+ it easy to import both normal and optimised versions of modules.
+ test_heapq and test_warnings have been adjusted to use it, tests for
+ other modules with both C and Python implementations in the stdlib
+ can be adjusted to use it over time.
+
- Fix test_warnings to no longer reset the warnings filter.
- Fix test_logging to no longer reset the warnings filter.