def test_newStyleWithSlots(self):
        """
        A class defined with I{slots} can be jellied and unjellied with the
        values for its attributes preserved.
        """
        n = E()
        n.x = 1
        c = jelly.jelly(n)
        m = jelly.unjelly(c)
        self.assertIsInstance(m, E)
        self.assertEqual(n.x, 1)

        A class defined with I{slots} can be jellied and unjellied with the
        values for its attributes preserved.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/test/test_jelly.py