void () { final PyEvaluator evaluator = new PyEvaluator(); evaluator.setNamespace(ImmutableMap.of("a", 1)); final Object value = evaluator.evaluate(parseText("a = True\nexpr = a")); assertInstanceOf(value, Integer.class); assertEquals(1, value); }