Browse files

Disable module loader test case on pypy because they are not supported

  • Loading branch information...
1 parent 285c955 commit fb4352de509891991d5d6340afc9a608c7e23d61 @mitsuhiko mitsuhiko committed May 20, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 jinja2/testsuite/loader.py
View
5 jinja2/testsuite/loader.py
@@ -221,5 +221,8 @@ def test_prefix_loader(self):
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

0 comments on commit fb4352d

Please sign in to comment.