launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #25393
[Merge] ~cjwatson/launchpad:py3-make-config-test into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:py3-make-config-test into launchpad:master.
Commit message:
Fix make_config_test for Python >= 3.3
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/391441
Otherwise the test runner crashes with DuplicateTestIDError.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:py3-make-config-test into launchpad:master.
diff --git a/lib/lp/services/config/tests/test_config.py b/lib/lp/services/config/tests/test_config.py
index e219ab0..6e986ef 100644
--- a/lib/lp/services/config/tests/test_config.py
+++ b/lib/lp/services/config/tests/test_config.py
@@ -72,6 +72,7 @@ def make_config_test(config_file, description):
self.fail(message)
# Hack the config file name into the class name.
LAZRConfigTestCase.__name__ = '../' + description
+ LAZRConfigTestCase.__qualname__ = '../' + description
return LAZRConfigTestCase