Skip to content

Commit 4d68d2a

Browse files
committed
Fix test
Signed-off-by: Bernát Gábor <[email protected]>
1 parent fe65884 commit 4d68d2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/session/cmd/test_sequential.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ def test_result_json_sequential(
114114
py_test = get_cmd_exit_run_id(log_report, "py", "test")
115115
assert py_test == [(1, "commands[0]"), (0, "commands[1]")]
116116
packaging_installed = log_report["testenvs"]["py"].pop("installed_packages")
117-
expected_pkg = {"pip", "setuptools", "wheel", "a"}
117+
expected_pkg = {"pip", "setuptools", "a"}
118+
if sys.version_info[0:2] == (3, 8):
119+
expected_pkg.add("wheel")
118120
assert {i[: i.find("==")] if "@" not in i else "a" for i in packaging_installed} == expected_pkg
119121
install_package = log_report["testenvs"]["py"].pop("installpkg")
120122
assert re.match(r"^[a-fA-F0-9]{64}$", install_package.pop("sha256"))

0 commit comments

Comments
 (0)