summaryrefslogtreecommitdiff
path: root/pystache/tests/test_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'pystache/tests/test_parser.py')
-rw-r--r--pystache/tests/test_parser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pystache/tests/test_parser.py b/pystache/tests/test_parser.py
index 4aa0959..92248ea 100644
--- a/pystache/tests/test_parser.py
+++ b/pystache/tests/test_parser.py
@@ -7,6 +7,7 @@ Unit tests of parser.py.
import unittest
+from pystache.defaults import DELIMITERS
from pystache.parser import _compile_template_re as make_re
@@ -19,7 +20,7 @@ class RegularExpressionTestCase(unittest.TestCase):
Test getting a key from a dictionary.
"""
- re = make_re()
+ re = make_re(DELIMITERS)
match = re.search("b {{test}}")
self.assertEqual(match.start(), 1)