Skip to content

Commit

Permalink
remove some unused type: ignore (s) for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Oct 3, 2024
1 parent 84b6729 commit 21d00d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_tket_symbolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def test_CZ() -> None:
_test_circuit(circuit, symbols, True)


def test_single_symbol_manipulaton() -> None:
symbols = [Symbol("p0")] # type: ignore
def test_single_symbol_manipulation() -> None:
symbols = [Symbol("p0")]

circuit = Circuit(2)
circuit.H(0)
Expand All @@ -146,7 +146,7 @@ def test_single_symbol_manipulaton() -> None:


def test_single_symbol_manipulaton_multiple_appearances() -> None:
symbols = [Symbol("p0")] # type: ignore
symbols = [Symbol("p0")]

circuit = Circuit(2)
circuit.H(0)
Expand All @@ -159,7 +159,7 @@ def test_single_symbol_manipulaton_multiple_appearances() -> None:


def test_multiple_symbol_manipulaton() -> None:
symbols = [Symbol("p0"), Symbol("p1"), Symbol("p2")] # type: ignore
symbols = [Symbol("p0"), Symbol("p1"), Symbol("p2")]

circuit = Circuit(2)
circuit.H(0)
Expand Down

0 comments on commit 21d00d1

Please sign in to comment.