| [gw1] darwin -- Python 3.13.13 /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13
|
|
|
| py = '3.14t'
|
|
|
| @requires_sudo
|
| @allpythons()
|
| def test_attach_thread_names(py):
|
| with run_python(py, target("target34.py")) as p:
|
| sleep(0.5)
|
|
|
| result = austin("-i", "1ms", "-p", str(p.pid))
|
| assert result.returncode == 0, result.stderr or result.stdout
|
|
|
| ts = {thread for _, thread, _ in threads(result.samples)}
|
| > assert ts == {"MainThread", "SecondThread"}, ts
|
| E AssertionError: {'MainThread'}
|
| E assert {'MainThread'} == {'MainThread', 'SecondThread'}
|
| E
|
| E Extra items in the right set:
|
| E 'SecondThread'
|
| E
|
| E Full diff:
|
| E {
|
| E 'MainThread',
|
| E - 'SecondThread',
|
| E }
|
|
|
| test/functional/test_attach.py:178: AssertionError
|