Skip to content

Make test.python.compiler a package#2025

Merged
1ucian0 merged 3 commits into
Qiskit:masterfrom
diego-plan9:fix/test-compiler
Mar 27, 2019
Merged

Make test.python.compiler a package#2025
1ucian0 merged 3 commits into
Qiskit:masterfrom
diego-plan9:fix/test-compiler

Conversation

@diego-plan9
Copy link
Copy Markdown
Member

Summary

As sort of a follow-up to #1856, add test/python/compiler/__init__.py, in order to turn it into a Python package - as otherwise neither pylint or the test runner in the CIs pick up the files inside that folder.

Digging a bit deeper, it seems we have been not running those test since the refactor, and in the process a regression was introduced during #2006, causing test/python/compiler/test_compiler.py::TestCompiler::test_move_measurements to fail. This PR temporarily skips the test, in order to allow running the rest of the test/python/compiler tests while investigating further.

Details and comments

As a follow-up, we should re-introduce TestCompiler::test_move_measurements.

@1ucian0 1ucian0 merged commit a48a3fd into Qiskit:master Mar 27, 2019
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
* Add test/python/compiler/__init__.py

Add `__init__.py` to `test/python/compiler` in order to turn it into
a module.

* Linting and style fixes for test_assembler

* Temporarily skip test_move_measurements
@diego-plan9 diego-plan9 deleted the fix/test-compiler branch March 30, 2020 12:58
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.

2 participants