[Python-modules-commits] [python-llfuse] 06/11: Ignore exceptions during interpreter shutdown

Nikolaus Rath nikratio-guest at moszumanska.debian.org
Mon Nov 13 12:52:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

nikratio-guest pushed a commit to branch master
in repository python-llfuse.

commit 6bf746d68824d5fe1d89d6cf3f11c7e89dee83b1
Author: Nikolaus Rath <Nikolaus at rath.org>
Date:   Sat Jan 21 16:34:50 2017 -0800

    Ignore exceptions during interpreter shutdown
    
    These can most likely be ignored in general. In the specific
    case that we are addressing with this, they also seem to be
    caused by a bug in Python. Closes: #851724.
---
 test/conftest.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/conftest.py b/test/conftest.py
index fa19c6a..d1e885f 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -21,6 +21,13 @@ def register_false_checklog_pos(reg_output):
     reg_output(r'^==\d+== For counts of detected and suppressed errors, rerun with: -v')
     reg_output(r'^==\d+== ERROR SUMMARY: 0 errors from 0 contexts')
 
+    # Exception during interpreter shutdown (cf. https://bugs.debian.org/851724)
+    reg_output(r'^Exception in thread [a-z0-9_-]+ '
+               r'\(most likely raised during interpreter shutdown\):\n'
+               r'Traceback .+\n'
+               r'(  File.+\n)+'
+               r'.+: .+\n')
+
 def pytest_addoption(parser):
     group = parser.getgroup("general")
     group._addoption("--installed", action="store_true", default=False,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-llfuse.git



More information about the Python-modules-commits mailing list