Hi Peter,

I think that something must be wrong with your istribution as this works 
for me:
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.2, Release Date: 2014-05-06                         │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage: TestSuite( PartitionTuples() ).run() 
sage: PartitionTuple([[2,1],[],[1,1,1,1],[3,3,3,2]])
([2, 1], [], [1, 1, 1, 1], [3, 3, 3, 2])


Just for completeness I also ran all of the doc-tests in 
`partition_tuple.py` and they worked:

6.2-master-combinat: sage -t partition_tuple.py 
Running doctests with ID 2014-06-17-12-53-19-84d39e8a.
Doctesting 1 file.
sage -t partition_tuple.py
    [273 tests, 6.23 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 6.4 seconds
    cpu time: 6.2 seconds
    cumulative wall time: 6.2 seconds

Do you have a vanilla version of `sage` or has something been modified? If 
you are using `git` are you in the master branch or another one?

Andrew

On Tuesday, 17 June 2014 03:58:56 UTC+2, Peter Samuelson wrote:
>
> I'd like to use PartitionTuples, but I ran into problems (e.g. I couldn't 
> create a PartitionTuple). I then ran the code
>
> TestSuite( PartitionTuples() ).run()
>
> and it produced quite a lot of errors. The last 4 lines were
>
> The following tests failed: _test_elements_eq_reflexive, 
> _test_elements_eq_symmetric, _test_elements_eq_transitive, 
> _test_elements_neq, _test_enumerated_set_contains, _test_some_elements
>
>
> Also, most of the example code in the help page for 'PartitionTuples' 
> produces errors. (The page is 
> http://www.sagemath.org/doc/reference/combinat/sage/combinat/partition_tuple.html#sage.combinat.partition_tuple.PartitionTuples
>  ) The version I am using is
>
> 'Sage Version 6.2, Release Date: 2014-05-06'
>
> Is this a bug? Or maybe I need to install something else?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to