summaryrefslogtreecommitdiff
path: root/src/Tests/Template.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tests/Template.py')
-rw-r--r--src/Tests/Template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tests/Template.py b/src/Tests/Template.py
index c8b6ee8..bca1b30 100644
--- a/src/Tests/Template.py
+++ b/src/Tests/Template.py
@@ -319,7 +319,7 @@ class TryExceptImportTest(TemplateTest):
#end def
'''
# This should raise an IndentationError (if the bug exists)
- klass = Template.compile(source=source)
+ klass = Template.compile(source=source, compilerSettings={'useLegacyImportMode' : False})
t = klass(namespaces={'foo' : 1234})