Opened 4 years ago

Closed 4 years ago

#8557 enhancement closed fixed (fixed)

Replace apply() with function call in twisted/trial/_dist/distreporter.py

Reported by: Craig Rodrigues Owned by: Craig Rodrigues
Priority: normal Milestone: Python-3.x
Component: core Keywords:
Cc: Branch: 8557-rodrigc-trial
branch-diff, diff-cov, branch-cov, buildbot
Author:

Description

The apply() builtin in Python 2 has been removed in Python 3. It should be replaced by a function call which works on Python 2 and 3. See: http://python3porting.com/differences.html#apply

Change History (3)

comment:1 Changed 4 years ago by Craig Rodrigues

Branch: 8557-rodrigc-trial
Keywords: review added

comment:2 Changed 4 years ago by Cory Benfield

Keywords: review removed
Owner: set to Craig Rodrigues

Well this was the easiest review ever. LGTM, go forth and merge.

comment:3 Changed 4 years ago by GitHub <noreply@…>

Resolution: fixed
Status: newclosed

In 4e139fe:

Merge pull request #289 from twisted/8557-rodrigc-trial

Author: rodrigc
Reviewer: Lukasa
Fixes: #8557

Replace apply() with a function call. apply() is gone in Python 3

Note: See TracTickets for help on using tickets.