aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_template.py')
-rw-r--r--test/test_template.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_template.py b/test/test_template.py
index 2ac4ad3..e8fd6ed 100644
--- a/test/test_template.py
+++ b/test/test_template.py
@@ -283,7 +283,10 @@ class EncodingTest(TemplateTest):
)
def test_raw_strings(self):
- """test that raw strings go straight thru with default_filters turned off"""
+ """test that raw strings go straight thru with default_filters turned off,
+ bytestring_passthrough enabled.
+
+ """
self._do_memory_test(
u"## -*- coding: utf-8 -*-\nhello ${x}",
@@ -291,6 +294,7 @@ class EncodingTest(TemplateTest):
default_filters=[],
template_args={'x':'śląsk'},
unicode_=False,
+ bytestring_passthrough=True,
output_encoding=None #'ascii'
)