Opened 4 years ago

Closed 4 years ago

#5950 enhancement closed fixed (fixed)

Add version of runWithWarningsSuppressed for synchronous functions

Reported by: itamar Owned by: itamar
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


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

Change History (4)

comment:1 Changed 4 years ago by itamarst

  • Author set to itamarst
  • Branch set to branches/sync-suppressed-warnings-5950

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

comment:2 Changed 4 years ago by itamar

  • Keywords review added
  • Owner changed from itamar to exarkun

comment:3 Changed 4 years ago by exarkun

  • Keywords review removed
  • Owner changed from exarkun to itamar

Looks good, please merge.

comment:4 Changed 4 years ago by itamarst

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

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