Ignore pdbpp ResourceWarning
E Failed: Logged unexpected errors: E E 22:30:18 WARNING py.warnings pdb:<module>:4 /home/florian/proj/qutebrowser/git/.tox/py35/lib/python3.5/site-packages/_pdbpp_path_hack/pdb.py:4: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/florian/proj/qutebrowser/git/.tox/py35/lib/python3.5/site-packages/pdb.py' mode='r' encoding='UTF-8'> E os.path.dirname(os.path.dirname(__file__)), 'pdb.py')).read(), os.path.join(
This commit is contained in:
parent
d2b1682915
commit
ef82076819
@ -154,6 +154,7 @@ def init_log(args):
|
||||
root.setLevel(logging.NOTSET)
|
||||
logging.captureWarnings(True)
|
||||
warnings.simplefilter('default')
|
||||
warnings.filterwarnings('ignore', module='pdb', category=ResourceWarning)
|
||||
QtCore.qInstallMessageHandler(qt_message_handler)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user