Opened 5 years ago

Closed 5 years ago

#5950 enhancement closed fixed (fixed)

Add version of runWithWarningsSuppressed for synchronous functions

Reported by: Itamar Turner-Trauring Owned by: Itamar Turner-Trauring
Priority: normal Milestone: Python 3.3 Minimal
Component: core Keywords:
Cc: Branch: branches/sync-suppressed-warnings-5950
branch-diff, diff-cov, branch-cov, buildbot
Author: itamarst

Description

SynchronousTestCase needs a version of runWithWarningsSuppressed that doesn't depend on Deferreds.

Change History (4)

comment:1 Changed 5 years ago by itamarst

Author: itamarst
Branch: branches/sync-suppressed-warnings-5950

(In [35538]) Branching to 'sync-suppressed-warnings-5950'

comment:2 Changed 5 years ago by Itamar Turner-Trauring

Keywords: review added
Owner: changed from Itamar Turner-Trauring to Jean-Paul Calderone

comment:3 Changed 5 years ago by Jean-Paul Calderone

Keywords: review removed
Owner: changed from Jean-Paul Calderone to Itamar Turner-Trauring

Looks good, please merge.

comment:4 Changed 5 years ago by itamarst

Resolution: fixed
Status: newclosed

(In [35546]) Merge sync-suppressed-warnings-5950: Add synchronous runWithWarningSuppressed function.

Author: itamar Review: exarkun Fixes: #5950

Another step on the road to a non-reactor-requiring SynchronousTestCase - a version of runWithWarningSuppressed that is not aware of Defereeds. And has tests.

Note: See TracTickets for help on using tickets.