diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-10-15 18:08:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 18:08:39 -0600 |
commit | 79292fba47566b6b35cbb0be1e854a6efd5b2932 (patch) | |
tree | 672e33c3919f43d93a6aede8e7e5f4a0e1e04349 | |
parent | ebf4a6c1d19bff4fa8ea389836bdd15008e4bbfd (diff) | |
parent | 3eac0cf37869aca0f4cf91f5ae703e63c6a97bbc (diff) | |
download | numpy-79292fba47566b6b35cbb0be1e854a6efd5b2932.tar.gz |
Merge pull request #9866 from eric-wieser/fix-runtests-benchmark-compare
BUG: Fix runtests --benchmark-compare in python 3
-rwxr-xr-x | runtests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtests.py b/runtests.py index 976a0cbbf..d06b241f0 100755 --- a/runtests.py +++ b/runtests.py @@ -250,10 +250,10 @@ def main(argv): # Fix commit ids (HEAD is local to current repo) out = subprocess.check_output(['git', 'rev-parse', commit_b]) - commit_b = out.strip() + commit_b = out.strip().decode('ascii') out = subprocess.check_output(['git', 'rev-parse', commit_a]) - commit_a = out.strip() + commit_a = out.strip().decode('ascii') cmd = ['asv', 'continuous', '-e', '-f', '1.05', commit_a, commit_b] + bench_args |