Mercurial > genshi > genshi-test
changeset 864:266aa2e347f5
Also skip the encoding step in the XPath tests.
author | cmlenz |
---|---|
date | Thu, 12 Nov 2009 21:08:40 +0000 |
parents | 72d56a8441e8 |
children | 6638c9db9e8c |
files | genshi/tests/path.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi/tests/path.py +++ b/genshi/tests/path.py @@ -658,7 +658,8 @@ continue s = strategy(path) rendered = FakePath(s).select(input, namespaces=namespaces, - variables=variables).render() + variables=variables) \ + .render(encoding=None) msg = 'Bad render using %s strategy' % str(strategy) msg += '\nExpected:\t%r' % output msg += '\nRendered:\t%r' % rendered @@ -674,7 +675,7 @@ return rendered = path.select(input, namespaces=namespaces, - variables=variables).render() + variables=variables).render(encoding=None) msg = 'Bad output using whole path' msg += '\nExpected:\t%r' % output msg += '\nRendered:\t%r' % rendered