summaryrefslogtreecommitdiff
path: root/tests/share
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-08-22 09:59:25 +0200
committerClifford Wolf <clifford@clifford.at>2015-08-22 09:59:33 +0200
commitc475deec6c69d509ac828cca437e2b9502f7b0c3 (patch)
tree6a15b902569999ced894daa3eea505c3dc93d58f /tests/share
parentf40d1b78b629dfebff7598e04b8470e6942f8f58 (diff)
Switched to Python 3
Diffstat (limited to 'tests/share')
-rw-r--r--tests/share/generate.py5
-rwxr-xr-xtests/share/run-test.sh2
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/share/generate.py b/tests/share/generate.py
index 271dd9c4..01a19a8d 100644
--- a/tests/share/generate.py
+++ b/tests/share/generate.py
@@ -1,7 +1,4 @@
-#!/usr/bin/python
-
-from __future__ import division
-from __future__ import print_function
+#!/usr/bin/env python3
import sys
import random
diff --git a/tests/share/run-test.sh b/tests/share/run-test.sh
index 6e880677..18dbbc27 100755
--- a/tests/share/run-test.sh
+++ b/tests/share/run-test.sh
@@ -8,7 +8,7 @@ set -e
rm -rf temp
mkdir -p temp
echo "generating tests.."
-python generate.py
+python3 generate.py
echo "running tests.."
for i in $( ls temp/*.ys | sed 's,[^0-9],,g; s,^0*\(.\),\1,g;' ); do