Closed
Description
MPI tests with coverage end with a failure like the following:
================= 156 passed, 36 skipped, 4 warnings in 46.93s =================
Fatal Error on Rank 0
Traceback (most recent call last):
File "~python3.7/lib/python3.7/site-packages/runtests/mpi/tester.py", line 333, in main
code = self._test(config, comm=self.comm, **covargs)
File "~/python3.7/lib/python3.7/site-packages/runtests/tester.py", line 275, in _test
return config.hook.pytest_cmdline_main(config=config)
File "~/python3.7/lib/python3.7/site-packages/runtests/coverage.py", line 60, in __exit__
self.cov.stop()
AttributeError: 'CoverageData' object has no attribute 'write_file'
--------------------------------------------------------------------
Issue goes away if I revert to coverage==4.5.4
Metadata
Metadata
Assignees
Labels
No labels