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

No analytic kwarg in device test suite #1216

Merged
merged 4 commits into from
Apr 16, 2021
Merged

Conversation

antalszava
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit .github/CHANGELOG.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@antalszava
Copy link
Contributor Author

@mariaschuld started this up, could you confirm if these parts really indeed need to be removed/modified? 🤔 in the process figured that maybe they are meant to be left in until the next release cycle. Will close this if that's the case.

@codecov
Copy link

codecov bot commented Apr 14, 2021

Codecov Report

Merging #1216 (10702e9) into master (1b65c40) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1216   +/-   ##
=======================================
  Coverage   98.12%   98.12%           
=======================================
  Files         145      145           
  Lines       10985    10985           
=======================================
  Hits        10779    10779           
  Misses        206      206           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b65c40...10702e9. Read the comment docs.

@mariaschuld
Copy link
Contributor

Perfect, I totally overlooked this! Thanks!

@@ -97,8 +97,7 @@ def get_device_tests():

def test_device(
device_name,
analytic=None,
shots=None,
shots=0,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: changed to shots=0 because shots=None is now ambiguous. There's no distinction between None being the default and None passed explicitly.

@antalszava antalszava marked this pull request as ready for review April 15, 2021 19:43
@antalszava antalszava requested review from mariaschuld and josh146 and removed request for mariaschuld April 15, 2021 19:43
@antalszava antalszava changed the title No analytic kwarg in device test suite description No analytic kwarg in device test suite Apr 15, 2021
Copy link
Contributor

@mariaschuld mariaschuld left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Member

@josh146 josh146 left a comment

Choose a reason for hiding this comment

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

Thanks @antalszava! Good catch, and good idea to merge this in before the release.

Could you add this PR to the list of PRs already listed in the changelog for the shots refactor? Thanks!

@antalszava antalszava merged commit e55e42b into master Apr 16, 2021
@antalszava antalszava deleted the update_dev_test_docs branch April 16, 2021 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants