[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4190: Broken tests: failUnlessRaises has been deprecated

Tahoe-LAFS trac at tahoe-lafs.org
Sun Jan 4 18:41:46 UTC 2026


#4190: Broken tests: failUnlessRaises has been deprecated
-------------------------------+---------------------------
     Reporter:  hacklschorsch  |      Owner:  hacklschorsch
         Type:  defect         |     Status:  assigned
     Priority:  normal         |  Milestone:  undecided
    Component:  unknown        |    Version:  n/a
   Resolution:                 |   Keywords:
Launchpad Bug:                 |
-------------------------------+---------------------------
Changes (by hacklschorsch):

 * owner:   => hacklschorsch
 * status:  new => assigned


Old description:

> `failUnlessRaises` has been deprecated in favor of `assertRaises`.
>
> This breaks tests (see https://app.circleci.com/pipelines/github/tahoe-
> lafs/tahoe-lafs/5377/workflows/cd00a81d-54c3-43be-8041-719ea727c3f1).
>
> Thanks @sajith for the pointer (both the broken tests and the possible
> cause)!

New description:

 `failUnlessRaises` has been deprecated in favor of `assertRaises`.

 This breaks tests (see https://app.circleci.com/pipelines/github/tahoe-
 lafs/tahoe-lafs/5377/workflows/cd00a81d-54c3-43be-8041-719ea727c3f1).

 Thanks @sajith for the pointer (both to the broken tests and the possible
 cause)!

--

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


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