Skip to content

Commit 26b00eb

Browse files
committed
Fix test
1 parent dec9df8 commit 26b00eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/functional/test_install.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,10 @@ def _patched_get_environment(lib_locations):
354354
result = script.run(
355355
"python", str(runner), str(wheel_path.parent), expect_stderr=True
356356
)
357-
assert "Unexpected import detected during install" in result.stderr
357+
assert (
358+
"Unexpected import of 'pip_unexpected_module_xyz' detected during install"
359+
in result.stderr
360+
)
358361

359362

360363
def test_install_exit_status_code_when_no_requirements(

0 commit comments

Comments
 (0)