From e17b7c7a21fb2106919f82567220be082f595e95 Mon Sep 17 00:00:00 2001 From: Vanshika Date: Wed, 15 Jul 2026 22:31:06 +0530 Subject: [PATCH] Fix hello test script for Windows Python --- 01_hello/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/01_hello/test.py b/01_hello/test.py index d0cedd1c2..5725ab968 100755 --- a/01_hello/test.py +++ b/01_hello/test.py @@ -4,7 +4,7 @@ import os from subprocess import getstatusoutput, getoutput -prg = './hello.py' +prg = 'hello.py' # -------------------------------------------------- @@ -16,9 +16,9 @@ def test_exists(): # -------------------------------------------------- def test_runnable(): - """Runs using python3""" + """Runs using python""" - out = getoutput(f'python3 {prg}') + out = getoutput(f'python {prg}') assert out.strip() == 'Hello, World!'