summaryrefslogtreecommitdiff
path: root/tests/realmath
diff options
context:
space:
mode:
Diffstat (limited to 'tests/realmath')
-rw-r--r--tests/realmath/generate.py5
-rwxr-xr-xtests/realmath/run-test.sh2
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/realmath/generate.py b/tests/realmath/generate.py
index aee21118..19d01c7c 100644
--- a/tests/realmath/generate.py
+++ b/tests/realmath/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/realmath/run-test.sh b/tests/realmath/run-test.sh
index 8419688c..f1ec5476 100755
--- a/tests/realmath/run-test.sh
+++ b/tests/realmath/run-test.sh
@@ -4,7 +4,7 @@ set -e
rm -rf temp
mkdir -p temp
echo "generating tests.."
-python generate.py
+python3 generate.py
cd temp
echo "running tests.."