Anne Schilling <[email protected]> writes:
> For me with all patches applied on sage-5.1, the tests for
> partition.py also pass!
> On 7/19/12 6:58 PM, Andrew Mathas wrote:
>> I am curious as to exactly what you did to get these doc test
>> errors. Am I right in thinking that you applied all of the patches
>> currently in the queue (hg qpush -a) and then ran all of the doc
>> tests to get these failures? Which version of sage are you using?
I am running sage 5.1, all of the queue + the three patches by Christian
Stump which I rebased.
So very likely, I introduced an error using these three. Below is the
log. Actually, for q_analogues it is clearly my fault. The problem is
just that this is relatively hard to see within 60000 lines of noise,
and running the tests takes an awful long time...
I'll remove the three patches and see what's happening. Meanwhile, are
there any other files which should pass?
Also, what's the right way to correct the qt_catalan doctest?
sage: q_analogues.qt_catalan_number(1)
Expected:
1
Got:
doctest:178: DeprecationWarning: a_statistic is deprecated, use area
instead!
doctest:178: DeprecationWarning: b_statistic is deprecated, use bounce
instead!
1
Thanks for your patience,
Martin
sage -t "devel/sage-combinat/sage/combinat/partition.py"
**********************************************************************
File
"/groups/comb/rubey/sage-5.1/devel/sage-combinat/sage/combinat/partition.py",
line 5347:
sage: PartitionTuple([[3,3,2],[5,4,3,2]]).top_Garnir_tableau(2,(0,0,1)).pp()
Exception raised:
Traceback (most recent call last):
File "/groups/comb/rubey/sage-5.1/local/bin/ncadoctest.py", line 1231, in
run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/groups/comb/rubey/sage-5.1/local/bin/sagedoctest.py", line 38, in
run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/groups/comb/rubey/sage-5.1/local/bin/ncadoctest.py", line 1172, in
run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_186[2]>", line 1, in <module>
PartitionTuple([[Integer(3),Integer(3),Integer(2)],[Integer(5),Integer(4),Integer(3),Integer(2)]]).top_Garnir_tableau(Integer(2),(Integer(0),Integer(0),Integer(1))).pp()###line
5347:
sage: PartitionTuple([[3,3,2],[5,4,3,2]]).top_Garnir_tableau(2,(0,0,1)).pp()
File
"/groups/comb/rubey/sage-5.1/local/lib/python/site-packages/sage/combinat/partition.py",
line 5370, in top_Garnir_tableau
raise ValueError, '(row+1, col) must be inside the diagram'
ValueError: (row+1, col) must be inside the diagram
**********************************************************************
File
"/groups/comb/rubey/sage-5.1/devel/sage-combinat/sage/combinat/partition.py",
line 5352:
sage: PartitionTuple([[3,3,2],[5,4,3,2]]).top_Garnir_tableau(2,(1,0,1)).pp()
Exception raised:
Traceback (most recent call last):
File "/groups/comb/rubey/sage-5.1/local/bin/ncadoctest.py", line 1231, in
run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/groups/comb/rubey/sage-5.1/local/bin/sagedoctest.py", line 38, in
run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/groups/comb/rubey/sage-5.1/local/bin/ncadoctest.py", line 1172, in
run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_186[3]>", line 1, in <module>
PartitionTuple([[Integer(3),Integer(3),Integer(2)],[Integer(5),Integer(4),Integer(3),Integer(2)]]).top_Garnir_tableau(Integer(2),(Integer(1),Integer(0),Integer(1))).pp()###line
5352:
sage: PartitionTuple([[3,3,2],[5,4,3,2]]).top_Garnir_tableau(2,(1,0,1)).pp()
File
"/groups/comb/rubey/sage-5.1/local/lib/python/site-packages/sage/combinat/partition.py",
line 5370, in top_Garnir_tableau
raise ValueError, '(row+1, col) must be inside the diagram'
ValueError: (row+1, col) must be inside the diagram
**********************************************************************
File
"/groups/comb/rubey/sage-5.1/devel/sage-combinat/sage/combinat/partition.py",
line 5357:
sage: PartitionTuple([[3,3,2],[5,4,3,2]]).top_Garnir_tableau(3,(1,0,1)).pp()
Exception raised:
Traceback (most recent call last):
File "/groups/comb/rubey/sage-5.1/local/bin/ncadoctest.py", line 1231, in
run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/groups/comb/rubey/sage-5.1/local/bin/sagedoctest.py", line 38, in
run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/groups/comb/rubey/sage-5.1/local/bin/ncadoctest.py", line 1172, in
run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_186[4]>", line 1, in <module>
PartitionTuple([[Integer(3),Integer(3),Integer(2)],[Integer(5),Integer(4),Integer(3),Integer(2)]]).top_Garnir_tableau(Integer(3),(Integer(1),Integer(0),Integer(1))).pp()###line
5357:
sage: PartitionTuple([[3,3,2],[5,4,3,2]]).top_Garnir_tableau(3,(1,0,1)).pp()
File
"/groups/comb/rubey/sage-5.1/local/lib/python/site-packages/sage/combinat/partition.py",
line 5370, in top_Garnir_tableau
raise ValueError, '(row+1, col) must be inside the diagram'
ValueError: (row+1, col) must be inside the diagram
**********************************************************************
1 items had failures:
3 of 6 in __main__.example_186
***Test Failed*** 3 failures.
For whitespace errors, see the file /users/rubey/.sage//tmp/partition_20081.py
[14.8 s]
sage -t "devel/sage-combinat/sage/combinat/combinat.py"
[11.3 s]
sage -t "devel/sage-combinat/sage/combinat/perfect_matching.py"
[6.9 s]
sage -t "devel/sage-combinat/sage/combinat/tamari_lattices.py"
[4.1 s]
sage -t "devel/sage-combinat/sage/combinat/catalan_quasi_sym.py"
[3.5 s]
sage -t "devel/sage-combinat/sage/combinat/tableau_tuple.py"
[20.7 s]
sage -t "devel/sage-combinat/sage/combinat/q_analogues.py"
**********************************************************************
File
"/groups/comb/rubey/sage-5.1/devel/sage-combinat/sage/combinat/q_analogues.py",
line 157:
sage: q_analogues.qt_catalan_number(1)
Expected:
1
Got:
doctest:178: DeprecationWarning: a_statistic is deprecated, use area
instead!
doctest:178: DeprecationWarning: b_statistic is deprecated, use bounce
instead!
1
**********************************************************************
1 items had failures:
1 of 9 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file /users/rubey/.sage//tmp/q_analogues_20239.py
[5.3 s]
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-combinat-devel?hl=en.