summaryrefslogtreecommitdiff
path: root/tests/unittests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/__init__.py')
-rw-r--r--tests/unittests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/__init__.py b/tests/unittests/__init__.py
index d89ed443..657cb399 100644
--- a/tests/unittests/__init__.py
+++ b/tests/unittests/__init__.py
@@ -4,6 +4,7 @@ try:
# For test cases, avoid the following UserWarning to stderr:
# You don't have the C version of NameMapper installed ...
from Cheetah import NameMapper as _nm
+
_nm.C_VERSION = True
except ImportError:
pass