[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3004: EliotLoggedRunTest.addCleanup improperly narrows the interface

Tahoe-LAFS trac at tahoe-lafs.org
Fri Mar 15 19:12:58 UTC 2019


#3004: EliotLoggedRunTest.addCleanup improperly narrows the interface
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  1.12.1
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 `addCleanup` should accept extra positional and keyword arguments and pass
 them on to the wrapped method.  The implementation on this class only
 accepts a function, though.  This breaks interop with various TetsCase-
 interacting libraries (for example, Eliot).

 Fix the signature.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3004>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list