Debian Codegraph @

extra_tests/cffi_tests/embedding/test_tlocal.py

raw symbols SCIP
1 # Generated by pypy/tool/import_cffi.py
2 from extra_tests.cffi_tests.embedding.test_basic import EmbeddingTests
3
4
5 class TestThreadLocal(EmbeddingTests):
6 def test_thread_local(self):
7 tlocal_cffi = self.prepare_module('tlocal')
8 self.compile('tlocal-test', [tlocal_cffi], threads=True)
9 for i in range(10):
10 output = self.execute('tlocal-test')
11 assert output == "done\n"