Skip to content

Commit 61dcb84

Browse files
authored
Merge pull request #5468 from asottile/switch_importlib_to_imp
Switch from deprecated imp to importlib
2 parents 3d01dd3 + 4cd08f9 commit 61dcb84

13 files changed

+181
-241
lines changed

changelog/1403.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Switch from ``imp`` to ``importlib``.

changelog/2761.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Honor PEP 235 on case-insensitive file systems.

changelog/5078.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Test module is no longer double-imported when using ``--pyargs``.

changelog/5432.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Prevent "already imported" warnings from assertion rewriter when invoking pytest in-process multiple times.

changelog/5433.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix assertion rewriting in packages (``__init__.py``).

0 commit comments

Comments
 (0)