From 73e82fa42ef973e42011badc54a988afb1ae1bf7 Mon Sep 17 00:00:00 2001 From: Markus Wageringel Date: Tue, 31 Mar 2020 18:10:35 +0200 Subject: [PATCH] 29272: reorder doctests to make long and short tests pass --- .../rings/padics/padic_lattice_element.py | 29 ++++++------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/sage/rings/padics/padic_lattice_element.py b/src/sage/rings/padics/padic_lattice_element.py index bc06ae1a607..4714886437b 100644 --- a/src/sage/rings/padics/padic_lattice_element.py +++ b/src/sage/rings/padics/padic_lattice_element.py @@ -10,28 +10,17 @@ We create some rings and run the test suite for them. We skip the Smith form tests because they take a few minutes as of mid 2018, see :trac:`25431`:: - sage: R = ZpLC(2) + sage: R1 = ZpLC(2) doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation. See http://trac.sagemath.org/23505 for details. - sage: TestSuite(R).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time - - sage: R = ZpLF(2) # py2 - sage: R = ZpLF(2) # py3 - doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation. - See http://trac.sagemath.org/23505 for details. - sage: TestSuite(R).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time - - sage: R = QpLC(2) # py2 - sage: R = QpLC(2) # py3 - doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation. - See http://trac.sagemath.org/23505 for details. - sage: TestSuite(R).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time - - sage: R = QpLF(2) # py2 - sage: R = QpLF(2) # py3 - doctest:...: FutureWarning: This class/method/function is marked as experimental. It, its functionality or its interface might change without a formal deprecation. - See http://trac.sagemath.org/23505 for details. - sage: TestSuite(R).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time + sage: R2 = ZpLF(2) + sage: R3 = QpLC(2) + sage: R4 = QpLF(2) + + sage: TestSuite(R1).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time + sage: TestSuite(R2).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time + sage: TestSuite(R3).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time + sage: TestSuite(R4).run(skip=['_test_teichmuller', '_test_matrix_smith']) # long time """ # ****************************************************************************