Opened 9 years ago

Closed 9 years ago

#5963 enhancement closed fixed (fixed)

Remove deprecated module-level assertion functions from twisted.trial.unittest

Reported by: Jean-Paul Calderone Owned by: Jean-Paul Calderone
Priority: normal Milestone:
Component: trial Keywords:
Cc: Jonathan Lange Branch:


twisted.trial.unittest.assertTrue and friends have been deprecated since prior to Twisted 2.3 (r14549). Nothing in Twisted uses them anymore. They present a maintenance burden now (as part of the Python 3 port). Let's remove them.

Change History (2)

comment:1 Changed 9 years ago by DefaultCC Plugin

Cc: Jonathan Lange added

comment:2 Changed 9 years ago by Jean-Paul Calderone

Resolution: fixed
Status: newclosed

(In [35588]) Merge py3-sync-testcase-5874-4

Author: exarkun Reviewer: itamar Fixes: #5874 Fixes: #5963

Split twisted.trial.unittest into a Python 3 compatible part, currently with support for synchronous unit tests (ie, those that don't return a Deferred), and a Python 2-only part. The API is unchanged, but twisted.trial.unittest now imports on Python 3 and provides the Python 3 compatible functionality.

Also remove the long deprecated module-level assertion functions from twisted.trial.unittest.

Note: See TracTickets for help on using tickets.