From ec91b5a69000bea0794bbb3f97a4d994dab2031e Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Sat, 21 Aug 2021 12:07:34 +0000 Subject: [PATCH] tests: be explicit about using 'python3' instead of 'python' This fixes running tests in virtualenvs (or on distros) that no longer have a symlink from python to python2 or python3. Closes #7602 --- tests/dictserver.py | 2 +- tests/negtelnetserver.py | 2 +- tests/smbserver.py | 2 +- tests/util.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/dictserver.py b/tests/dictserver.py index 72d48a52ef..702d255c65 100755 --- a/tests/dictserver.py +++ b/tests/dictserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- #*************************************************************************** # _ _ ____ _ diff --git a/tests/negtelnetserver.py b/tests/negtelnetserver.py index fc672d3320..4f80e3dd7c 100755 --- a/tests/negtelnetserver.py +++ b/tests/negtelnetserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Project ___| | | | _ \| | diff --git a/tests/smbserver.py b/tests/smbserver.py index 639f02168f..3040175c03 100755 --- a/tests/smbserver.py +++ b/tests/smbserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Project ___| | | | _ \| | diff --git a/tests/util.py b/tests/util.py index 70f6b43517..0bc254a235 100755 --- a/tests/util.py +++ b/tests/util.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Project ___| | | | _ \| |