-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
I am experiencing an error when running pytest -xv test.py in the 01_hello directory.
============================================================================= ERRORS =============================================================================
____________________________________________________________________ ERROR collecting test.py ____________________________________________________________________
/usr/lib/python2.7/dist-packages/_pytest/python.py:507: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python2.7/dist-packages/py/_path/local.py:701: in pyimport
import(modname)
E File "/home/zmazza/tiny_python_projects/01_hello/test.py", line 21
E out = getoutput(f'python3 {prg}')
E ^
E SyntaxError: invalid syntax
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================== 1 error in 0.11 seconds =====================================================================