diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py index a7924d60f42..a63dc98c64f 100644 --- a/selftest/selftesthelpers.py +++ b/selftest/selftesthelpers.py @@ -159,6 +159,8 @@ def planperltestsuite(name, path): def planpythontestsuite(env, module, name=None, extra_path=[]): + if name is None: + name = module pypath = list(extra_path) if not has_system_subunit_run: pypath.extend(["%s/lib/subunit/python" % srcdir(),