Skip to content

Conversation

jakelishman
Copy link
Member

Summary

Add the assertion that the generated file is equal to the reference, and
correct the reference file, from its inclusion in #6248.

The extra spacing added in the identifiers is consistent with a similar
fix made to test_latex_cif_single_bit.tex within that PR, and the
inclusion of the additional \mathrm macros appears to be a deliberate
choice for bundles specifically (in qiskit/visualization/latex.py,
current lines 247--248).

Details and comments

Fix #7063.

Add the assertion that the generated file is equal to the reference, and
correct the reference file, from its inclusion in Qiskit#6248.

The extra spacing added in the identifiers is consistent with a similar
fix made to `test_latex_cif_single_bit.tex` within that PR, and the
inclusion of the additional `\mathrm` macros appears to be a deliberate
choice for bundles specifically (in `qiskit/visualization/latex.py`,
current lines 247--248).
@jakelishman jakelishman added the Changelog: None Do not include in changelog label Sep 27, 2021
@mergify mergify bot merged commit 3d4f725 into Qiskit:main Sep 28, 2021
@jakelishman jakelishman deleted the fix/visualisation-test-extra-file branch September 29, 2021 10:24
@kdk kdk added this to the 0.19 milestone Nov 15, 2021
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 changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra file test_latex_cif_single_bit_bundle.tex generated by tests
3 participants