Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7040 enhancement closed duplicate (duplicate)

Add context manager to assertRaises

Reported by: Adi Roiban Owned by: Adi Roiban
Priority: normal Milestone:
Component: trial Keywords:
Cc: Jonathan Lange Branch:


Twisted redefines assertRaises and it is not a context-manager anymore

That looks like a bug in the test class, actually. Cf.

Change History (3)

comment:1 Changed 5 years ago by DefaultCC Plugin

Cc: Jonathan Lange added

comment:2 Changed 5 years ago by Adi Roiban

Resolution: duplicate
Status: newclosed

Duplicate of #7040

comment:3 Changed 5 years ago by Jean-Paul Calderone

Duplicate of #5339. :)

Note: See TracTickets for help on using tickets.