mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
GitOrigin-RevId: 3d4abb05167e85cb44720e36d0fa3b949f199f30
11 lines
354 B
Python
11 lines
354 B
Python
def test_dump_threads():
|
|
import pydevd
|
|
try:
|
|
from StringIO import StringIO
|
|
except:
|
|
from io import StringIO
|
|
stream = StringIO()
|
|
pydevd.dump_threads(stream=stream)
|
|
contents = stream.getvalue()
|
|
assert 'Thread MainThread (daemon: False, pydevd thread: False)' in contents
|
|
assert 'test_dump_threads' in contents |