Remove uses of apply() where covered by tests
|Reported by:||Vladimir Perić||Owned by:||Vladimir Perić|
branch-diff, diff-cov, branch-cov, buildbot
The apply() built-in is deprecated since 2.3 and has been removed in Python 3. The solution is to just call the function directly. It's used in a handful of places in Twisted, this ticket only covers those which are covered by tests.