Changes between Version 3 and Version 9 of Ticket #27821


Ignore:
Timestamp:
05/13/19 15:59:09 (3 years ago)
Author:
vklein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27821

    • Property Status changed from new to needs_work
    • Property Commit changed from to 1e93e496d263032fa34b4fba2be6931fb741faf5
    • Property Branch changed from to u/vklein/27821
    • Property Summary changed from covering_design.py : Fix AttributeError to covering_design.py & design_catalog.py: Fix AttributeError
  • Ticket #27821 – Description

    v3 v9  
    1 Fix the following bug.
     11. Fix the following bug.
    22{{{
    33sage: C = designs.best_known_covering_design_from_LJCR(7, 3, 2)
     
    1919
    2020The root cause is that the object returned by {{{urlopen}}} doesn't have an {{{__exit__}}} method in python2 and therefore it can not be used with a {{{with ... as ...}}} syntax.
     21
     222. Fix a doctest error in design_catalog.py:
     23
     24
     25{{{
     26sage -t --long src/sage/combinat/designs/design_catalog.py
     27**********************************************************************
     28File "src/sage/combinat/designs/design_catalog.py", line 23, in sage.combinat.designs.design_catalog
     29Failed example:
     30    C                            # optional - internet
     31Expected:
     32    (7,3,2)-covering design of size 7
     33    Lower bound: 7
     34    Method: lex covering
     35    Submitted on: 1996-12-01 00:00:00
     36Got:
     37    (7, 3, 2)-covering design of size 7
     38    Lower bound: 7
     39    Method: lex covering
     40    Submitted on: 1996-12-01 00:00:00
     41**********************************************************************
     42}}}