Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.0.2'
__version__ = '0.0.3'

if __name__ == '__main__':
print(__version__)
10 changes: 2 additions & 8 deletions test/cirq_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -40,4 +35,3 @@ def test_to_json() -> None:
],
"unit": "GHz"
}"""
)
1 change: 0 additions & 1 deletion test_perf/test_value_with_dimension_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading