Skip to content

Commit e201692

Browse files
committed
Remove unnecessary py.code import
1 parent d385799 commit e201692

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_pytest_mock.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,6 @@ def test_monkeypatch_ini(testdir: Any, mocker: MockerFixture) -> None:
638638

639639
testdir.makepyfile(
640640
"""
641-
import py.code
642641
def test_foo(mocker):
643642
stub = mocker.stub()
644643
assert stub.assert_called_with.__module__ == stub.__module__

0 commit comments

Comments
 (0)