Skip to content

running test: SyntaxError: f-string: unmatched '(' #666

@saper

Description

@saper
> python3.11 testsuite/testsuite.py --with-python=python3.11 testsuite/tests/lkt/import/invalid/   INFO     Found 1 tests
INFO     FAIL            lkt__import__invalid: non-zero status code
_Running: /usr/local/bin/python3.11 /usr/home/saper/src/ada/langkit/testsuite/python_support/lkt_compile.py (cwd=/tmp/tmpro9itzdt/lkt__import__invalid)
_Status code: 1
_Output: 
_Traceback (most recent call last):
_  File "/usr/home/saper/src/ada/langkit/testsuite/python_support/lkt_compile.py", line 16, in <module>
_    from utils import derive_config, emit_and_print_errors, python_support_dir
_  File "/usr/home/saper/src/ada/langkit/testsuite/python_support/utils.py", line 477
_    f"--native-compiler-options=-I{m.dirs.build_dir("src")}",
_                                                     ^^^
_SyntaxError: f-string: unmatched '('
_
INFO     Summary:
_  FAIL         1

Introduced in 565f495 and the code has never been run?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions