Skip to content

Commit df7c3df

Browse files
committed
Revert "Ignore some python warnings for now"
Doesn't work on all platforms This reverts commit f0e53db.
1 parent 088e58a commit df7c3df

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

python/utils.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,7 @@
5959
warnings.filterwarnings("ignore", "the sets module is deprecated")
6060

6161

62-
ignorelist = [
63-
"objcreator.py:152: DeprecationWarning: 'U' mode is deprecated"
64-
"DeprecationWarning: the imp module is deprecated in favour of importlib;"
65-
]
66-
6762
def showWarning(message, category, filename, lineno, file=None, line=None):
68-
for ignore in ignorelist:
69-
if ignore in message:
70-
return
71-
7263
stk = ""
7364
for s in traceback.format_stack()[:-2]:
7465
if hasattr(s, 'decode'):

0 commit comments

Comments
 (0)