Skip to content

Commit 382f436

Browse files
committed
Replace source with . for POSIX-compatibility
1 parent 8bc47fc commit 382f436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def run_in_venv(
4949
)
5050
else:
5151
# Unix-like systems
52-
activate_cmd = f"source {VENV_DIR}/bin/activate"
52+
activate_cmd = f". {VENV_DIR}/bin/activate"
5353
args = shlex.split(
5454
f'sh -c "{activate_cmd} && python {filename}"'
5555
)

0 commit comments

Comments
 (0)