Opened 14 months ago

Last modified 13 months ago

#27889 closed enhancement

py3 fixes for matroids — at Initial Version

Reported by: jhpalmieri Owned by:
Priority: major Milestone: sage-8.8
Component: python3 Keywords:
Cc: Stefan, Rudi, zgershkoff, yomcat, tscrim Merged in:
Authors: John Palmieri Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:


This fixes most of the Python 3 doctest failures in matroids. Many of the tests rely on sorting: not just sorting the output, but sorting while computing the answer. So when we ask for a maximal independent set, we shouldn't print it, because the answer may change between Python versions, and indeed it may change if we run Python 3 several times. Instead, we should check that it is maximal independent.

Several failures remain. See the comments below.

Change History (0)

Note: See TracTickets for help on using tickets.