pytest: CoverageWarning: Module was previously imported, but not measured
Lacyc3 – 2024. 07. 09. 23:22
2024. 07. 11. 14:41
1 perc
Probléma: pytest futtatása közben a CoverageWarning: Module was previously imported, but not measured (module-not-measured) figyelmeztetést kapod.
Probléma: pytest futtatása közben a CoverageWarning: Module was previously imported, but not measured (module-not-measured) figyelmeztetést kapod.
Megoldás: valószínűleg elírtad a pyproject.yaml fájl [tool.coverage.run] szekciójában a source = ["eleresi_utvonal"] érték(ek)et.