Skip to content

Commit

Permalink
f test
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Oct 15, 2024
1 parent b148986 commit 254694c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def dummy():

raise URLError

with patch("urrllib.request.urlretrieve", dummy):
with patch("urllib.request.urlretrieve", dummy):
env = create_environment(
_inputs,
extras=["test"],
Expand All @@ -85,4 +85,5 @@ def test_extra_requirements_in_pip_req():
_inputs,
pip=["setuptools-scm[toml]"],
)
assert "toml" in env.requirements
from packaging.requirements import Requirement
assert Requirement("toml") in env.requirements

0 comments on commit 254694c

Please sign in to comment.