Skip to content

Commit 6dec28b

Browse files
committed
build: delete unused code in igor.py
1 parent 6376e35 commit 6dec28b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

igor.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
99
"""
1010

11-
import contextlib
1211
import datetime
1312
import glob
1413
import inspect
@@ -23,7 +22,6 @@
2322
import sysconfig
2423
import textwrap
2524
import types
26-
import warnings
2725
import zipfile
2826

2927
try:
@@ -40,14 +38,6 @@
4038
PYPY = platform.python_implementation() == "PyPy"
4139

4240

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-
5141
# $set_env.py: COVERAGE_IGOR_VERBOSE - More output from igor.py
5242
VERBOSITY = int(os.getenv("COVERAGE_IGOR_VERBOSE", "0"))
5343

0 commit comments

Comments
 (0)