Opened 8 months ago

Closed 8 months ago

#27167 closed enhancement (fixed)

py3: fix doctest in distances_all_pairs.pyx

Reported by: dcoudert Owned by:
Priority: major Milestone: sage-8.7
Component: graph theory Keywords: py3, graph
Cc: Merged in:
Authors: David Coudert Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: 0a2d935 (Commits) Commit: 0a2d935e8e0db759aee7e178eefdf3d0c5a15b9c
Dependencies: Stopgaps:

Description

again the error is due to the difference of ordering of the keys of dictionaries in py2 and py3. So we mark the doctest with # py2 and # py3.

Change History (3)

comment:1 Changed 8 months ago by dcoudert

  • Branch set to public/27167_distances_all_pairs
  • Commit set to 0a2d935e8e0db759aee7e178eefdf3d0c5a15b9c
  • Status changed from new to needs_review
  • Summary changed from py3: fix doctest in distance_all_pairs.pyx to py3: fix doctest in distances_all_pairs.pyx

New commits:

0a2d935trac #27167: doctest in distances_all_pairs.pyx

comment:2 Changed 8 months ago by chapoton

  • Reviewers set to Frédéric Chapoton
  • Status changed from needs_review to positive_review

ok

comment:3 Changed 8 months ago by vbraun

  • Branch changed from public/27167_distances_all_pairs to 0a2d935e8e0db759aee7e178eefdf3d0c5a15b9c
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.