summaryrefslogtreecommitdiffstats
path: root/tests/test_pickle.py
blob: b0f6bcfe8895dfcc7ce51d5f01837f4067277708 (plain)
1
2
3
4
5
6
import pickle


def test_environment(env):
    env = pickle.loads(pickle.dumps(env))
    assert env.from_string("x={{ x }}").render(x=42) == "x=42"