rism-digital / verovio

🎵 Music notation engraving library for MEI with MusicXML and Humdrum support and various toolkits (JavaScript, Python)
https://www.verovio.org
GNU Lesser General Public License v3.0
678 stars 185 forks source link

[Pytest] discovery error when using verovio #3809

Closed Daniel63656 closed 1 week ago

Daniel63656 commented 2 weeks ago

When using import verovio in any python file, trying to run pytests for that file (or any file that imports a file that imports verovio) will fail (pytest Discovery error). Using verovio in a jupyter notebook works fine, though. Even more strangey, running $ pytest --collect-only will not report any errors.

Verovio information I use verovio 4.3.1 (installed with pip install verovio).

lpugin commented 1 week ago

You need to give some detailed instructions on how to reproduce this.