ea07a78
diff --git a/tests/create_tests_source.py b/tests/create_tests_source.py
ea07a78
index 1feb1443..2c5560f4 100755
ea07a78
--- a/tests/create_tests_source.py
ea07a78
+++ b/tests/create_tests_source.py
ea07a78
@@ -1,4 +1,4 @@
ea07a78
-#! /usr/bin/env python
b6fc1c6
+#!/usr/bin/python3
ea07a78
 
ea07a78
 """ Create a simple stereo file containing a sine tone at 441 Hz, using only
ea07a78
 python's built-in modules. """
ea07a78
diff --git a/tests/wscript_build b/tests/wscript_build
ea07a78
index c99a051e..d3fd0633 100644
ea07a78
--- a/tests/wscript_build
ea07a78
+++ b/tests/wscript_build
ea07a78
@@ -13,7 +13,7 @@ test_sound_abspath = bld.path.get_bld().make_node(test_sound_target)
ea07a78
 test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\')
ea07a78
 
ea07a78
 b = bld(name='create_tests_source',
ea07a78
-    rule='python ${SRC} ${TGT}',
b6fc1c6
+    rule='python3 ${SRC} ${TGT}',
ea07a78
     source='create_tests_source.py',
ea07a78
     target=test_sound_target)
ea07a78
 # use post() to create the task, keep a reference to it