============================= test session starts ==============================
platform darwin -- Python 3.13.16, pytest-9.2.0, pluggy-1.7.0
rootdir: /work/pytest/syntax
plugins: platformdirs-4.14.5, cov-7.1.0, xdist-3.8.0
collected 0 items / 1 error

==================================== ERRORS ====================================
__________________________ ERROR collecting test_a.py __________________________
../../../tools/py/lib/python3.13/site-packages/_pytest/python.py:528: in importtestmodule
    mod = import_path(
../../../tools/py/lib/python3.13/site-packages/_pytest/pathlib.py:640: in import_path
    importlib.import_module(module_name)
../../../cache/uv-python/cpython-3.13.16-macos-aarch64-none/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1404: in _gcd_import
    ???
<frozen importlib._bootstrap>:1369: in _find_and_load
    ???
<frozen importlib._bootstrap>:1340: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
../../../tools/py/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:176: in exec_module
    source_hash, co = _rewrite_test(fn, self.config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../tools/py/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:339: in _rewrite_test
    tree = ast.parse(source, filename=strfn)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../cache/uv-python/cpython-3.13.16-macos-aarch64-none/lib/python3.13/ast.py:50: in parse
    return compile(source, filename, mode, flags,
E     File "/work/pytest/syntax/test_a.py", line 1
E       def test_one(:
E                    ^
E   SyntaxError: invalid syntax
=========================== short test summary info ============================
ERROR test_a.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.16s ===============================
