2966
2977
def adapt_modules(mods_list, adapter, loader, suite):
2967
2978
"""Adapt the modules in mods_list using adapter and add to suite."""
2969
2986
suite.addTests(adapter.adapt(test))
2972
def adapt_tests(tests_list, adapter, loader, suite):
2978
2989
def _rmtree_temp_dir(dirname):
2979
2990
# If LANG=C we probably have created some bogus paths
2980
2991
# which rmtree(unicode) will fail to delete