summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Gourgoulhon <eric.gourgoulhon@obspm.fr>2015-12-06 21:25:49 +0100
committerEric Gourgoulhon <eric.gourgoulhon@obspm.fr>2015-12-06 21:25:49 +0100
commit5251ef034afde1b6feea50ab0846915a5e771f96 (patch)
treed0c836ec56c9d08fc937fbcfbb2d1b96f1cf69e1
parentChange the argument type to structure in Manifold (diff)
Remove method _test_pickling from class TopologicalManifoldPoint
-rw-r--r--src/sage/manifolds/point.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/sage/manifolds/point.py b/src/sage/manifolds/point.py
index 5a32a8b..c0c9b95 100644
--- a/src/sage/manifolds/point.py
+++ b/src/sage/manifolds/point.py
@@ -701,26 +701,3 @@ class TopologicalManifoldPoint(Element):
"""
return hash(self._manifold)
-
- def _test_pickling(self, **options):
- r"""
- Test pickling.
-
- This test is weaker than
- :meth:`sage.structure.sage_object.SageObject._test_pickling` in that
- it does not require ``loads(dumps(self)) == self``.
- It however checks that ``loads(dumps(self))`` proceeds without any
- error and results in an object that is a manifold point.
-
- TESTS::
-
- sage: M = Manifold(2, 'M', structure='topological')
- sage: X.<x,y> = M.chart()
- sage: p = M((1,2), chart=X)
- sage: p._test_pickling()
-
- """
- tester = self._tester(**options)
- from sage.misc.all import loads, dumps
- bckp = loads(dumps(self))
- tester.assertEqual(type(bckp), type(self))