We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6376e35 commit 6dec28bCopy full SHA for 6dec28b
igor.py
@@ -8,7 +8,6 @@
8
9
"""
10
11
-import contextlib
12
import datetime
13
import glob
14
import inspect
@@ -23,7 +22,6 @@
23
22
import sysconfig
24
import textwrap
25
import types
26
-import warnings
27
import zipfile
28
29
try:
@@ -40,14 +38,6 @@
40
38
PYPY = platform.python_implementation() == "PyPy"
41
39
42
43
-@contextlib.contextmanager
44
-def ignore_warnings():
45
- """Context manager to ignore warning within the with statement."""
46
- with warnings.catch_warnings():
47
- warnings.simplefilter("ignore")
48
- yield
49
-
50
51
# $set_env.py: COVERAGE_IGOR_VERBOSE - More output from igor.py
52
VERBOSITY = int(os.getenv("COVERAGE_IGOR_VERBOSE", "0"))
53
0 commit comments