Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 01_hello/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
from subprocess import getstatusoutput, getoutput

prg = './hello.py'
prg = 'hello.py'


# --------------------------------------------------
Expand All @@ -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!'


Expand Down