GNOME Bugzilla – Bug 740324
test_import_machinery.TestImporter.test_invalid_repository_module_name() fails with Python 3.1 and 3.2
Last modified: 2016-06-07 08:04:34 UTC
test_import_machinery.TestImporter.test_invalid_repository_module_name() fails with Python 3.1 and 3.2. This test passes with Python 2.7 and >=3.3. ====================================================================== FAIL: test_invalid_repository_module_name (test_import_machinery.TestImporter) ---------------------------------------------------------------------- Traceback (most recent call last):
+ Trace 234341
self.assertTrue('introspection typelib' in exception_string)
----------------------------------------------------------------------
Created attachment 290926 [details] [review] Patch
Review of attachment 290926 [details] [review]: Looks good, can you add a commit message here as well? thanks! https://wiki.gnome.org/GnomeLove/SubmittingPatches https://wiki.gnome.org/Git/CommitMessages
Commit message: "Fix Python version check in test_import_machinery.TestImporter.test_invalid_repository_module_name() to avoid failure with Python 3.1 and 3.2."
Created attachment 329222 [details] [review] Fix a test with Python 3.1/3.2 Patch incorporating your commit message. In the future please use "git format-patch" for providing patches. More info here: https://wiki.gnome.org/Newcomers/SubmittingPatches