Blame tests/unittests/__init__.py
|
Packit Service |
a04d08 |
# This file is part of cloud-init. See LICENSE file for license information.
|
|
Packit Service |
a04d08 |
|
|
Packit Service |
a04d08 |
try:
|
|
Packit Service |
a04d08 |
# For test cases, avoid the following UserWarning to stderr:
|
|
Packit Service |
a04d08 |
# You don't have the C version of NameMapper installed ...
|
|
Packit Service |
a04d08 |
from Cheetah import NameMapper as _nm
|
|
Packit Service |
a04d08 |
_nm.C_VERSION = True
|
|
Packit Service |
a04d08 |
except ImportError:
|
|
Packit Service |
a04d08 |
pass
|
|
Packit Service |
a04d08 |
|
|
Packit Service |
a04d08 |
# vi: ts=4 expandtab
|