def test(self):

        # And we must unpickle one
        x = dumps(C())
        try:
            loads(x)
        except __HOLE__, e:
            self.fail('Unpickling raised an AttributeError: %s' % e)
dataset/ETHPy150Open enthought/traits/traits/tests/test_pickle_validated_dict.py/PickleValidatedDictTestCase.test