Showing content from http://svn.python.org/projects/python/branches/release24-maint/Lib/test/test_threading_local.py below:
import unittest from doctest import DocTestSuite from test import test_support def test_main(): suite = DocTestSuite('_threading_local') try: from thread import _local except ImportError: pass else: import _threading_local local_orig = _threading_local.local def setUp(test): _threading_local.local = _local def tearDown(test): _threading_local.local = local_orig suite.addTest(DocTestSuite('_threading_local', setUp=setUp, tearDown=tearDown) ) test_support.run_suite(suite) if __name__ == '__main__': test_main()
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4