def _test_secondary_interpreter(self):
	try:
	    import thread
	except __HOLE__:
	    print 'threading not enabled - skipping test'
	    return

	import_remote = """\
import sys
import thread
import time
def task():
    time.sleep(0.5)
thread.start_new_thread(task, ())

self.sysdict = sys.__dict__
self.sync = 1
while self.sync:
    pass
# print 'done'

"""


	self.sync = 0
	thid = self.heapy.heapyc.interpreter(import_remote, {'self':self})
	
	root = self.View.root

	import sys
	sysdict = sys.__dict__
	rel = str(self.relation(root, sysdict))
	self.aseq(rel, '%s.i0_sysdict')

	while not self.sync:
	    pass

	rel = str(self.relation(root, self.sysdict))
	self.aseq(rel, '%s.i1_sysdict')

	self.sync = 0
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/heapy/test/test_Path.py/RootTestCase._test_secondary_interpreter