mirror of
https://github.com/openharmony/third_party_jinja2.git
synced 2026-07-01 10:05:25 -04:00
7 lines
148 B
Python
7 lines
148 B
Python
import pickle
|
|
|
|
|
|
def test_environment(env):
|
|
env = pickle.loads(pickle.dumps(env))
|
|
assert env.from_string("x={{ x }}").render(x=42) == "x=42"
|