Skip to content

Commit

Permalink
Add py test
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana-s committed Dec 20, 2024
1 parent 60e17be commit 01c2d1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/test_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ def foo() -> None:
validate(foo)


def test_strings(validate):
@compile_guppy
def foo() -> None:
x: str = py("a" + "b")

validate(foo)


@pytest.mark.skipif(not tket2_installed, reason="Tket2 is not installed")
@pytest.mark.skip("Fails because of extensions in types #343")
def test_pytket_single_qubit(validate):
Expand Down

0 comments on commit 01c2d1a

Please sign in to comment.