Skip to content

Commit

Permalink
src/sage/misc/sage_unittest.py: Import loads, dumps from sage.misc.pe…
Browse files Browse the repository at this point in the history
…rsist
  • Loading branch information
Matthias Koeppe committed Sep 30, 2021
1 parent 245d726 commit 5f1c296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/sage_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def _test_pickling(self, **options):
:func:`dumps`, :func:`loads`
"""
tester = instance_tester(self, **options)
from sage.misc.all import loads, dumps
from sage.misc.persist import loads, dumps
tester.assertEqual(loads(dumps(self._instance)), self._instance)

def _test_new(self, **options):
Expand Down

0 comments on commit 5f1c296

Please sign in to comment.