Skip to content

Commit c83ae08

Browse files
committed
Revert "$ workaround"
This reverts commit 92c075a.
1 parent 92c075a commit c83ae08

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/conftest.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ def ruby(request: pytest.FixtureRequest) -> Optional[str]:
2020
"""Fixture to get the ruby executable from the command line options"""
2121
ruby = request.config.getoption("--ruby", None)
2222
assert isinstance(ruby, (str, type(None))), f"Invalid ruby option: {ruby}"
23-
if isinstance(ruby, str):
24-
# we need to prepend the path with some garbage to make it not a valid
25-
# path. otherwise pytest gets confused.
26-
# https://github.com/pytest-dev/pytest/issues/13368
27-
ruby = ruby.lstrip("$")
28-
return ruby # type: ignore
23+
return ruby
2924

3025

3126
##========================================================================================================

0 commit comments

Comments
 (0)