def test_clear(self): ''' clear(). ''' # Create dict. sd = Superdict(a=11, b=22) sd.clear() # Nothing remains. with aRaz(AERR): sd.a with aRaz(AERR): sd.b with aRaz(KERR): sd['a'] with aRaz(KERR): sd['b']