[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3886: It is inconvenient to test code using `async def` using Tahoe's unittest-based testing tools

Tahoe-LAFS trac at tahoe-lafs.org
Wed Nov 30 14:24:25 UTC 2022


#3886: It is inconvenient to test code using `async def` using Tahoe's unittest-
based testing tools
------------------------------------+-----------------------
     Reporter:  exarkun             |      Owner:
         Type:  enhancement         |     Status:  new
     Priority:  normal              |  Milestone:  undecided
    Component:  dev-infrastructure  |    Version:  n/a
   Resolution:                      |   Keywords:
Launchpad Bug:                      |
------------------------------------+-----------------------

Comment (by exarkun):

 It turns out the change in Twisted 22.8 to make maybeDeferred support
 coroutines makes both trial and testtools work with `async def` test
 methods.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3886#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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