Ticket #4323 (closed defect: duplicate)

Opened 23 months ago

Last modified 19 months ago

sage-coverage expects doctests for closures

Reported by: robertwb Owned by: mabshoff
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: doctest Keywords:
Cc: zimmerma Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

Unfortunately, there is often no way to doctest such functions directly, and for some re-writing them as lambda functions is impossible or reduces readability.

Change History

  Changed 23 months ago by robertwb

  • owner changed from tbd to mabshoff
  • component changed from algebra to doctest

  Changed 23 months ago by zimmerma

  • cc zimmerma added

  Changed 23 months ago by mabshoff

  • milestone set to sage-3.2

follow-up: ↓ 5   Changed 19 months ago by jhpalmieri

Is this the same as #877?

John (who's not quite sure what "closures" are)

P.S. By the way, I think it takes a certain amount of hubris to write a program like 'sage-coverage' which itself has no doctests or documentation :)

in reply to: ↑ 4   Changed 19 months ago by mabshoff

Replying to jhpalmieri:

Is this the same as #877? John (who's not quite sure what "closures" are)

Not sure.

P.S. By the way, I think it takes a certain amount of hubris to write a program like 'sage-coverage' which itself has no doctests or documentation :)

Yes, this certainly registered rather strongly on my irony meter, but right now there is no coverage for the scripts in local/bin, even though most people agreed that it would be a pretty good idea. This will hopefully happen sooner or later.

Cheers,

Michael

  Changed 19 months ago by zimmerma

Is this the same as #877?

yes.

  Changed 19 months ago by mabshoff

  • status changed from new to closed
  • resolution set to duplicate
  • milestone changed from sage-3.4.1 to sage-duplicate/invalid/wontfix

Since this is a dupe of #877 I am closing this ticket as a dupe.

If someone disagrees please reopen.

Cheers,

Michael

Note: See TracTickets for help on using tickets.