Skip to content
Browse files
Revert "Ignore some python warnings for now"
Doesn't work on all platforms

This reverts commit f0e53db.
  • Loading branch information
NathanW2 committed Sep 4, 2017
1 parent 088e58a commit df7c3df
Showing 1 changed file with 0 additions and 9 deletions.
@@ -59,16 +59,7 @@
warnings.filterwarnings("ignore", "the sets module is deprecated")

ignorelist = [
" DeprecationWarning: 'U' mode is deprecated"
"DeprecationWarning: the imp module is deprecated in favour of importlib;"

def showWarning(message, category, filename, lineno, file=None, line=None):
for ignore in ignorelist:
if ignore in message:

stk = ""
for s in traceback.format_stack()[:-2]:
if hasattr(s, 'decode'):

0 comments on commit df7c3df

Please sign in to comment.