[pypy-issue] [issue1372] test fails in testsuite/loader.py of jinja jinja-2.6

Ian Delaney tracker at bugs.pypy.org
Fri Jan 18 10:58:48 CET 2013


New submission from Ian Delaney <della5 at iinet.com.au>:

via setup.py test


Doctest: jinja2.ext.extract_from_ast ... ok
compile_expression (jinja2.environment.Environment)
Doctest: jinja2.environment.Environment.compile_expression ... ok
Template (jinja2.environment)
Doctest: jinja2.environment.Template ... ok
module (jinja2.environment.Template)
Doctest: jinja2.environment.Template.module ... ok
FileSystemBytecodeCache (jinja2.bccache)
Doctest: jinja2.bccache.FileSystemBytecodeCache ... ok

======================================================================
ERROR: test_byte_compilation (jinja2.testsuite.loader.ModuleLoaderTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/mnt/gen2/TmpDir/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6/jinja2/testsuite/loader.py",
line 180, in test_byte_compilation
    tmpl1 = self.mod_env.get_template('a/test.html')
  File
"/mnt/gen2/TmpDir/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6/jinja2/environment.py",
line 719, in get_template
    return self._load_template(name, self.make_globals(globals))
  File
"/mnt/gen2/TmpDir/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6/jinja2/environment.py",
line 693, in _load_template
    template = self.loader.load(self, name, globals)
  File
"/mnt/gen2/TmpDir/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6/jinja2/loaders.py",
line 443, in load
    raise TemplateNotFound(name)
TemplateNotFound: a/test.html

----------------------------------------------------------------------
Ran 277 tests in 4.148s

FAILED (errors=1)
 * ERROR: dev-python/jinja-2.6-r1 failed (test phase):

----------
assignedto: afa
messages: 5171
nosy: afa, idella5, pypy-issue
priority: bug
release: 2.0
status: chatting
title: test fails in testsuite/loader.py of jinja jinja-2.6

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1372>
________________________________________


More information about the pypy-issue mailing list