Skip to content

Commit 40e061f

Browse files
committed
Avoid unnecessary wrapping in test_example.py
1 parent 7728b1e commit 40e061f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

{{cookiecutter.package_name}}/tests/test_examples.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ def run_in_venv(
5050
else:
5151
# Unix-like systems
5252
activate_cmd = f". {VENV_DIR}/bin/activate"
53-
args = shlex.split(
54-
f'sh -c "{activate_cmd} && python {filename}"'
55-
)
53+
args = shlex.split(f'sh -c "{activate_cmd} && python {filename}"')
5654

5755
env: dict[str, str] = {}
5856
if os.environ.get("PATH"):

0 commit comments

Comments
 (0)