'Test jellying C{sets.Set}: it should serialize to the same thing as
C{set} jelly, and be unjellied as C{set} if available.'

def test_oldSets(self):

    inputList = [jelly._sets.Set([1, 2, 3])]
    inputJelly = jelly.jelly(inputList)
    self.assertEqual(inputJelly, jelly.jelly([set([1, 2, 3])]))
    output = jelly.unjelly(inputJelly)
    self.assertEqual(list(inputList[0]), list(output[0]))
    if (set is jelly._sets.Set):
        self.assertIsInstance(output[0], jelly._sets.Set)
    else:
        self.assertIsInstance(output[0], set)
