Skip to content

Commit

Permalink
Adjusted test.sh to make it work on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
hmludwig committed Feb 15, 2024
1 parent 41be1b0 commit d3a801c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -xeuo pipefail
rm -rf _testing
rm -rf .pytype
mkdir -p _testing
readonly VENV_DIR="$(mktemp -d -p `pwd`/_testing optax-env.XXXXXXXX)"
readonly VENV_DIR="$(mktemp -d `pwd`/_testing/optax-env.XXXXXXXX)"
# in the unlikely case in which there was something in that directory
python3 -m venv "${VENV_DIR}"
source "${VENV_DIR}/bin/activate"
Expand Down

0 comments on commit d3a801c

Please sign in to comment.