def test_can_copy_inputs_from_other_node(self): node = Node(op="Subtract") node.inputs = self.node.inputs assert node.inputs == self.node.inputs # Contents should be the same, but it should not just be a reference to the existing SynchronizedList assert node.inputs is not self.node.inputs
def test_can_copy_inputs_from_other_node(self): node = Node(op="Subtract") node.inputs = self.node.inputs assert node.inputs == self.node.inputs