Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CalibrationTag #3423

Merged
merged 5 commits into from
Oct 19, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
dstrain115 committed Oct 18, 2020
commit c42aa3e5dc5b314192d8204b783a69152a183b27
3 changes: 1 addition & 2 deletions cirq/google/ops/calibration_tag_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def test_equality():


def test_str_repr():
assert (str(
cirq.google.CalibrationTag('foo')) == 'CalibrationTag(\'foo\')')
assert (str(cirq.google.CalibrationTag('foo')) == 'CalibrationTag(\'foo\')')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could pull out cirq.google.CalibrationTag('foo') into a local var.

assert (repr(cirq.google.CalibrationTag('foo')) ==
'cirq.google.CalibrationTag(\'foo\')')
cirq.testing.assert_equivalent_repr(cirq.google.CalibrationTag('foo'),
Expand Down