def test_universe_loading_no_warning(self): assert_nowarns(UserWarning, lambda x: mda.Universe(x), GRO)
def test_SegmentGroup_nowarn_getitem(self): assert_nowarns(DeprecationWarning, lambda x: self.u.segments[x], 0)
def test_AtomGroup_nowarn_getitem_index(self): assert_nowarns(DeprecationWarning, lambda x: self.u.atoms[x], 0)
def test_AtomGroup_nowarn_segids_attribute(self): assert_nowarns(DeprecationWarning, lambda x: getattr(self.u.atoms, x), "segids")