Hey Andrew, Both errors were caused by me and has been fixed. Thanks, Travis
On Sunday, October 14, 2012 6:26:53 AM UTC-7, Andrew Mathas wrote: > > Hi Travis, > > The errors that I got were: > > sage -t "devel/sage-combinat/sage/combinat/skew_partition.py" > ********************************************************************** > File > "/usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat/sage/combinat/skew_partition.py", > > line 663: > sage: print from_row_and_column_length([3,1,2,2],[2,3,1,1,1]).diagram() > Expected: > ### > # > ## > ## > Got: > *** > * > ** > ** > ********************************************************************** > File > "/usr/local/src/sage/sage-5.4.rc1/devel/sage-combinat/sage/combinat/skew_partition.py", > > line 200: > sage: print SkewPartition([[5,4,3,1],[3,1]]).diagram() > Exception raised: > Traceback (most recent call last): > File "/usr/local/src/sage/sage-5.4.rc1/local/bin/ncadoctest.py", > line 1231, in run_one_test > self.run_one_example(test, example, filename, compileflags) > File "/usr/local/src/sage/sage-5.4.rc1/local/bin/sagedoctest.py", > line 38, in run_one_example > OrigDocTestRunner.run_one_example(self, test, example, filename, > compileflags) > File "/usr/local/src/sage/sage-5.4.rc1/local/bin/ncadoctest.py", > line 1172, in run_one_example > compileflags, 1) in test.globs > File "<doctest __main__.example_3[5]>", line 1, in <module> > print > SkewPartition([[Integer(5),Integer(4),Integer(3),Integer(1)],[Integer(3),Integer(1)]]).diagram()###line > > 200: > sage: print SkewPartition([[5,4,3,1],[3,1]]).diagram() > File > "/usr/local/src/sage/sage-5.4.rc1/local/lib/python/site-packages/sage/combinat/skew_partition.py", > > line 220, in ferrers_diagram > for i in L: > TypeError: 'NoneType' object is not iterable > ********************************************************************** > 2 items had failures: > 1 of 17 in __main__.example_25 > 1 of 8 in __main__.example_3 > ***Test Failed*** 2 failures. > For whitespace errors, see the file > /Users/andrew/.sage//tmp/skew_partition_36539.py > [32.8 s] > > The second of these was fixed by kshape-om.patch as, among other things, > it adds a check for empty skew tableaux. > > Andrew > > -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/sage-combinat-devel/-/wVW0o_JV2Y4J. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.