python/coverage: update to 7.6.5
[oi-userland.git] / components / python / coverage / patches / 09-self_collectors.patch
blob4537e49ebe570763bdc1db500924ff2353c52687
1 --- coverage-7.6.5/tests/test_concurrency.py.orig
2 +++ coverage-7.6.5/tests/test_concurrency.py
3 @@ -735,8 +735,8 @@
4 """ + ("sigterm = true" if sigterm else ""),
6 out = self.run_command("coverage run clobbered.py")
7 - # Under Linux, things go wrong. Does that matter?
8 - if env.LINUX and "assert self._collectors" in out:
9 + # Under Linux and illumos, things go wrong. Does that matter?
10 + if (env.LINUX or sys.platform == "sunos5") and "assert self._collectors" in out:
11 lines = out.splitlines(True)
12 out = "".join(lines[:3])
13 assert out == "START\nNOT THREE\nEND\n"