Opened 2 years ago

Closed 2 years ago

#5963 enhancement closed fixed (fixed)

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

Reported by: exarkun Owned by: exarkun
Priority: normal Milestone:
Component: trial Keywords:
Cc: jml Branch:
Author: Launchpad Bug:

Description

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 2 years ago by DefaultCC Plugin

  • Cc jml added

comment:2 Changed 2 years ago by exarkun

  • Resolution set to fixed
  • Status changed from new to closed

(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.