tests/assert-msg-test: it is not a script (anymore?)

Fixes running the program on win32.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-10-14 14:12:59 +04:00
parent 789fd5dfc0
commit 0a4dc17f28

View File

@ -74,10 +74,6 @@ class TestAssertMessage(unittest.TestCase):
def runAssertMessage(self, *args): def runAssertMessage(self, *args):
argv = [self.__assert_msg_test] argv = [self.__assert_msg_test]
# shebang lines are not supported on native
# Windows consoles
if os.name == "nt":
argv.insert(0, sys.executable)
argv.extend(args) argv.extend(args)
print("Running:", argv) print("Running:", argv)