#4190 assigned defect

Broken tests: failUnlessRaises has been deprecated — at Version 2

Reported by: hacklschorsch Owned by: hacklschorsch
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description (last modified by hacklschorsch)

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)!

Change History (2)

comment:1 Changed at 2026-01-04T18:40:53Z by hacklschorsch

11 tests are failing in this Server 2022 CPython 3.12 test run with AttributeError: 'Complete' object has no attribute 'failUnlessRaises' (or similar).

It seems this is not a Windows problem though, but a very-recent-python-problem:

Due to some different bug, that test suite seems to not be running CPython 3.12, but 3.13.7.

comment:2 Changed at 2026-01-04T18:41:46Z by hacklschorsch

  • Description modified (diff)
  • Owner set to hacklschorsch
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.