def test_classMethod(self):
        """
        After importing L{twisted.persisted.styles}, it is possible to pickle
        classmethod objects.
        """
        pickl = pickle.dumps(Pickleable.getX)
        o = pickle.loads(pickl)
        self.assertEqual(o, Pickleable.getX)

        After importing L{twisted.persisted.styles}, it is possible to pickle
        classmethod objects.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_persisted.py