Ahhh another bug... A bit stupid of me not to run the tests

This commit is contained in:
Dave Halter
2018-01-20 22:00:41 +01:00
parent 256f001480
commit 98a3da674c

View File

@@ -13,5 +13,5 @@ import pytest
def test_equals(source):
script = Script(source)
node = script._module_node.children[0]
first, = script._get_module.eval_node(node)
first, = script._get_module().eval_node(node)
assert isinstance(first, CompiledObject) and first.obj is True