Skip to content

Commit 0d0551e

Browse files
committed
13403: Disable assertion rewriting for external modules
1 parent 0701fcb commit 0d0551e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_assertrewrite.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
from unittest import mock
2424
import zipfile
2525

26+
from _pytest.monkeypatch import MonkeyPatch
27+
2628
import _pytest._code
2729
from _pytest._io.saferepr import DEFAULT_REPR_MAX_SIZE
2830
from _pytest.assertion import util

0 commit comments

Comments
 (0)