def test_str(self): self.assertEqual(utils._deserialize("'spam%2F%25%3d%22%27spam'"), """spam/%="'spam""")
def test_false(self): self.assertEqual(utils._deserialize('fAlSe'), False)
def test_int(self): self.assertEqual(utils._deserialize('12345'), 12345)
def test_none(self): self.assertEqual(utils._deserialize('nUlL'), None)
def test_true(self): self.assertEqual(utils._deserialize('TrUe'), True)