qiskit-community / qiskit-dynamics

Tools for building and solving models of quantum systems in Qiskit
https://qiskit-community.github.io/qiskit-dynamics/
Apache License 2.0
105 stars 61 forks source link

Fix PyxImporter.find_spec() warning in tests #278

Closed DanPuzzuoli closed 1 year ago

DanPuzzuoli commented 1 year ago

Just running the test suite locally and seeing this warning appear:

<frozen importlib._bootstrap>:1049: ImportWarning: PyxImporter.find_spec() not found; falling back to find_module()

This gets raised when running the models tests.

DanPuzzuoli commented 1 year ago

The specific test test.dynamics.models.test_rotating_frame.TestRotatingFrameTypeHandling.test_state_transformations_no_frame_qobj_type raises this, and it happens when qutip is imported.