From: Armin Ronacher Date: Mon, 20 May 2013 01:00:02 +0000 (+0100) Subject: Disable module loader test case on pypy because they are not supported X-Git-Tag: 2.7~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb4352de509891991d5d6340afc9a608c7e23d61;p=thirdparty%2Fjinja.git Disable module loader test case on pypy because they are not supported --- diff --git a/jinja2/testsuite/loader.py b/jinja2/testsuite/loader.py index 9368698d..3412d154 100644 --- a/jinja2/testsuite/loader.py +++ b/jinja2/testsuite/loader.py @@ -221,5 +221,8 @@ class ModuleLoaderTestCase(JinjaTestCase): def suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(LoaderTestCase)) - suite.addTest(unittest.makeSuite(ModuleLoaderTestCase)) + # pypy currently does not support compiled jinja modules because + # of changes in the load system. + if not hasattr(sys, 'pypy_version_info'): + suite.addTest(unittest.makeSuite(ModuleLoaderTestCase)) return suite