| py = '3.11'
|
| monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x1041e99f0>
|
| mojo = True
|
|
|
| @allpythons()
|
| @mojo
|
| def test_gc_disabled(py, monkeypatch, mojo):
|
| monkeypatch.setenv("GC_DISABLED", "1")
|
|
|
| result = austin("-gi", "10ms", *python(py), target("target_gc.py"), mojo=mojo)
|
| assert result.returncode == 0
|
|
|
| meta = metadata(result.stdout)
|
| > assert int(meta["gc"]) * 0.8 < int(meta["duration"]) / 20
|
| E AssertionError: assert (21575 * 0.8) < (229550 / 20)
|
| E + where 21575 = int('21575')
|
| E + and 229550 = int('229550')
|
|
|
| test/functional/test_gc.py:64: AssertionError
|