2969
2970
def adapt_modules(mods_list, adapter, loader, suite):
2970
2971
"""Adapt the modules in mods_list using adapter and add to suite."""
2972
2979
suite.addTests(adapter.adapt(test))
2975
def adapt_tests(tests_list, adapter, loader, suite):
2981
2982
def _rmtree_temp_dir(dirname):
2982
2983
# If LANG=C we probably have created some bogus paths
2983
2984
# which rmtree(unicode) will fail to delete