Skip to content

Commit

Permalink
Update test_virtual_pkgs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Aug 24, 2023
1 parent 67762c5 commit fd849cd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions micromamba/tests/test_virtual_pkgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def test_virtual_packages(self):
assert f"__linux={linux_ver}=0" in infos

def test_virtual_linux(self):
if platform.system() == "Linux":
infos = info()
assert "__linux=" in infos
assert "__linux=0=0" not in infos
else:
infos = info(env={**os.environ, "CONDA_SUBDIR": "linux-64"})
assert "__linux=0=0" in infos
if platform.system() == "Linux":
infos = info()
assert "__linux=" in infos
assert "__linux=0=0" not in infos
else:
infos = info(env={**os.environ, "CONDA_SUBDIR": "linux-64"})
assert "__linux=0=0" in infos

0 comments on commit fd849cd

Please sign in to comment.