diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-21 12:04:21 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-21 12:04:21 -0500 |
commit | 6b29775df2d3155bf6076ea103f573c5efbc8883 (patch) | |
tree | 2a8d383fc199befdb28c8fbd398148408f532f09 /test/test_template.py | |
parent | 76f27c8002f7200a12a23e2b6f5dd7a38bc4c293 (diff) | |
download | mako-6b29775df2d3155bf6076ea103f573c5efbc8883.tar.gz |
- py3k fixesrel_0_4_0
Diffstat (limited to 'test/test_template.py')
-rw-r--r-- | test/test_template.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_template.py b/test/test_template.py index e8fd6ed..a62783e 100644 --- a/test/test_template.py +++ b/test/test_template.py @@ -328,6 +328,10 @@ class EncodingTest(TemplateTest): template = lookup.get_template('/read_unicode_py3k.html') else: template = lookup.get_template('/read_unicode.html') + # TODO: I've no idea what encoding this file is, Python 3.1.2 + # won't read the file even with open(...encoding='utf-8') unless + # errors is specified. or if there's some quirk in 3.1.2 + # since I'm pretty sure this test worked with py3k when I wrote it. data = template.render(path=self._file_path('internationalization.html')) @skip_if(lambda: util.py3k) |