Skip to content

Commit

Permalink
fix broken test_conda_pip_interop_conda_editable_package
Browse files Browse the repository at this point in the history
Signed-off-by: Kale Franz <[email protected]>
  • Loading branch information
kalefranz committed Apr 26, 2020
1 parent 99f308e commit 1f2d601
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -2033,7 +2033,9 @@ def test_conda_pip_interop_conda_editable_package(self):
assert package_is_installed(prefix, "urllib3>=1.21")
assert not stderr
json_obj = json_loads(stdout)
unlink_dists = json_obj["actions"]["UNLINK"]
unlink_dists = [
dist_obj for dist_obj in json_obj["actions"]["UNLINK"] if dist_obj.get("platform") == "pypi"
] # filter out conda package upgrades like python and libffi
assert len(unlink_dists) == 1
assert unlink_dists[0]["name"] == "urllib3"
assert unlink_dists[0]["channel"] == "pypi"
Expand Down

0 comments on commit 1f2d601

Please sign in to comment.