(Environment) root@PE-LT8207:/home/nxp/Documents/helios_fw_utest/utest# /home/nxp/Documents/Environment/bin/pytest --bench bench_mlan.yml -k test_setChannel /home/nxp/Documents/helios_fw_utest/utest/tests_wlan/sanity/
Traceback (most recent call last):
File "/home/nxp/Documents/Environment/bin/pytest", line 7, in <module>
from pytest import console_main
File "/home/nxp/Documents/Environment/lib/python3.5/site-packages/pytest/__init__.py", line 171
raise AttributeError(f"module {__name__} has no attribute {name}")
^
SyntaxError: invalid syntax
Asked
Active
Viewed 12 times
-1

jonrsharpe
- 115,751
- 26
- 228
- 437
-
1You're using _Python 3.5_. – jonrsharpe Aug 16 '23 at 11:00
-
1To add to jonrsharpe's comment, f-strings were introduced in Python 3.6 – Abdul Aziz Barkat Aug 16 '23 at 11:02