]> granicus.if.org Git - python/commit
Implementing an idea from Guido on the checkins list:
authorTim Peters <tim.peters@gmail.com>
Tue, 22 May 2001 18:28:25 +0000 (18:28 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 22 May 2001 18:28:25 +0000 (18:28 +0000)
commitd97422115e9ed6498bc7a6f792a0bf8f278f9097
treea976c7881907ac437d497527a06861fb5fc83693
parentbc5619826e6c84d68f73df02d712302b9f25a924
Implementing an idea from Guido on the checkins list:
When regrtest.py finds an attribute "test_main" in a test it imports,
regrtest runs the test's test_main after the import.  test_threaded_import
needs this else the cross-thread import lock prevents it from making
progress.  Other tests can use this hack too, but I doubt it will ever be
popular.
Lib/test/regrtest.py
Lib/test/test_threaded_import.py