Skip to content

Remove ops.Moment deprecation.#5682

Merged
CirqBot merged 2 commits intoquantumlib:masterfrom
MichaelBroughton:moment_dep
Jul 8, 2022
Merged

Remove ops.Moment deprecation.#5682
CirqBot merged 2 commits intoquantumlib:masterfrom
MichaelBroughton:moment_dep

Conversation

@MichaelBroughton
Copy link
Copy Markdown
Collaborator

No description provided.

@MichaelBroughton MichaelBroughton requested review from a team, cduck and vtomole as code owners July 7, 2022 23:39
@MichaelBroughton MichaelBroughton requested a review from maffoo July 7, 2022 23:39
@CirqBot CirqBot added the size: S 10< lines changed <50 label Jul 7, 2022
Copy link
Copy Markdown
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

LGTM

import cirq
import cirq.testing

ALLOW_DEPRECATION_IN_TEST = 'ALLOW_DEPRECATION_IN_TEST'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Unused variable?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It's a hint to allow for deprecated functionality in the test module.

@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 8, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 8, 2022
@CirqBot CirqBot merged commit 6b6ff4d into quantumlib:master Jul 8, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. size: S 10< lines changed <50

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants