def test_duplicate_nodes_2(self):
    node = uniform()
    spec = [[node, node]]
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 1)
    self.assertEqual([[1.0, 1.0]], parsed.instantiate([1.0]))
def test_duplicate_nodes_2(self):
    node = uniform()
    spec = [[node, node]]
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 1)
    self.assertEqual([[1.0, 1.0]], parsed.instantiate([1.0]))