Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Jun 26, 2024
1 parent 3cf6416 commit 82611a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/yen_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,8 @@ def test_ensurepath() -> None:

userpath_path = os.path.join(os.path.dirname(__file__), "../userpath.pyz")

with pytest.raises(Failed) as exc:
with pytest.raises(Failed):
run([sys.executable, userpath_path, "check"])
check_return_code = exc.value.args[0]
assert check_return_code == 1

run([yen_path, "ensurepath"])

Expand Down

0 comments on commit 82611a0

Please sign in to comment.