==================================== ERRORS ====================================
____________________________ ERROR collecting f.py _____________________________
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule
    mod = import_path(self.fspath, mode=importmode)
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
    source_stat, co = _rewrite_test(fn, self.config)
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
    tree = ast.parse(source, filename=fn_)
/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/ast.py:50: in parse
    return compile(source, filename, mode, flags,
E     File "/tmp/pytest-of-runner/pytest-0/test_collection_failure_syntax_error2/f.py", line 1
E       (
E        ^
E   SyntaxError: unexpected EOF while parsing
=========================== short test summary info ============================
ERROR f.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
1 error in 0.25s