diff --git a/_version.py b/_version.py index 24ff07d..2e32809 100644 --- a/_version.py +++ b/_version.py @@ -1,4 +1,4 @@ -__version__ = '0.0.2' +__version__ = '0.0.3' if __name__ == '__main__': print(__version__) diff --git a/test/cirq_compatibility.py b/test/cirq_compatibility.py index 5028243..a98518e 100644 --- a/test/cirq_compatibility.py +++ b/test/cirq_compatibility.py @@ -19,18 +19,13 @@ @pytest.mark.cirq def test_to_json() -> None: - assert ( - cirq.to_json(tu.ns * 3) - == """{ + assert cirq.to_json(tu.ns * 3) == """{ "cirq_type": "tunits.Time", "value": 3, "unit": "ns" }""" - ) - assert ( - cirq.to_json(tu.GHz * [1, 2, 3, -1]) - == """{ + assert cirq.to_json(tu.GHz * [1, 2, 3, -1]) == """{ "cirq_type": "tunits.FrequencyArray", "value": [ 1.0, @@ -40,4 +35,3 @@ def test_to_json() -> None: ], "unit": "GHz" }""" - ) diff --git a/test_perf/test_value_with_dimension_performance.py b/test_perf/test_value_with_dimension_performance.py index 70b9681..587efd0 100644 --- a/test_perf/test_value_with_dimension_performance.py +++ b/test_perf/test_value_with_dimension_performance.py @@ -19,7 +19,6 @@ from tunits import ValueWithDimension, Value from .perf_testing_util import a_random_value_with_dimension, perf_goal - if TYPE_CHECKING: import numpy