def test(self): """ class TestClone """ ph1 = PhoSegObject( ipa="tˈai̯˧˥papo" ) ph2 = ph1.clone() self.assertEqual( ph1.get_ipa_representation(), ph2.get_ipa_representation() ) ph1[0].onset[0].maindata[0]['length'].set_to_extralong() self.assertNotEqual( ph1.get_ipa_representation(), ph2.get_ipa_representation() )