'Ensure that dependency types are preserved by spec copy.'

def test_copy_deptypes(self):

    s1 = Spec('dt-diamond')
    s1.normalize()
    self.check_diamond_deptypes(s1)
    self.check_diamond_normalized_dag(s1)
    s2 = s1.copy()
    self.check_diamond_normalized_dag(s2)
    self.check_diamond_deptypes(s2)
    s3 = Spec('dt-diamond')
    s3.concretize()
    self.check_diamond_deptypes(s3)
    s4 = s3.copy()
    self.check_diamond_deptypes(s4)
