Skip to content

Remove print calls from test suite#11253

Merged
mtreinish merged 1 commit into
Qiskit:mainfrom
jakelishman:remove-test-prints
Nov 15, 2023
Merged

Remove print calls from test suite#11253
mtreinish merged 1 commit into
Qiskit:mainfrom
jakelishman:remove-test-prints

Conversation

@jakelishman
Copy link
Copy Markdown
Member

Summary

This removes some debugging print statements from the test suite, to avoid noise in the test-runner output. In some cases, the print was only part of an assertion that the conversion to string fails, and these were converted to explicit calls to str. This isn't strictly necessary, it's just trying to get the test suite out of the habit of using print.

Details and comments

This removes some debugging `print` statements from the test suite, to
avoid noise in the test-runner output.  In some cases, the `print` was
only part of an assertion that the conversion to string fails, and these
were converted to explicit calls to `str`.  This isn't strictly
necessary, it's just trying to get the test suite out of the habit of
using `print`.
@jakelishman jakelishman added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in the GitHub Release changelog. labels Nov 15, 2023
@jakelishman jakelishman requested review from a team, ikkoham and t-imamichi as code owners November 15, 2023 16:57
@qiskit-bot
Copy link
Copy Markdown
Collaborator

One or more of the the following people are requested to review this:

  • @Cryoris
  • @Qiskit/terra-core
  • @ajavadia
  • @ikkoham
  • @levbishop
  • @t-imamichi

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 6880444469

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 18 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.008%) to 85.922%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/expr.rs 1 93.76%
qiskit/pulse/library/waveform.py 3 93.75%
crates/qasm2/src/parse.rs 6 97.6%
crates/qasm2/src/lex.rs 8 91.16%
Totals Coverage Status
Change from base Build 6879718232: -0.008%
Covered Lines: 65957
Relevant Lines: 76764

💛 - Coveralls

@mtreinish mtreinish enabled auto-merge November 15, 2023 17:23
@mtreinish mtreinish added this pull request to the merge queue Nov 15, 2023
Merged via the queue into Qiskit:main with commit 28154e6 Nov 15, 2023
@jakelishman jakelishman deleted the remove-test-prints branch November 15, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. type: qa Issues and PRs that relate to testing and code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants