Ticket #5963 enhancement closed fixed

Opened 8 months ago

Last modified 8 months ago

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

1

Changed 8 months ago by DefaultCC Plugin

  • cc jml added

2

Changed 8 months ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

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