Skip to content

Commit

Permalink
Escape output
Browse files Browse the repository at this point in the history
  • Loading branch information
malfet committed Feb 25, 2021
1 parent b348b59 commit 35dfec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .jenkins/pytorch/test.sh
Expand Up @@ -145,7 +145,7 @@ test_aten() {
}

test_without_numpy() {
pushd $(dirname "${BASH_SOURCE[0]}")
pushd "$(dirname "${BASH_SOURCE[0]}")"
python -c "import sys;sys.path.insert(0, 'fake_numpy');from unittest import TestCase;import torch;x=torch.randn(3,3);TestCase().assertRaises(RuntimeError, lambda: x.numpy())"
popd
}
Expand Down

0 comments on commit 35dfec9

Please sign in to comment.