We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4cf67f commit 8f99ebdCopy full SHA for 8f99ebd
tests/testlib.py
@@ -338,7 +338,7 @@ def _teardown_check_threads(self):
338
def _teardown_check_fds(self):
339
mitogen.core.Latch._on_fork()
340
if get_fd_count() != self._fd_count_before:
341
- import os; os.system('lsof +E -w -p %s' % (os.getpid(),))
+ import os; os.system('lsof +E -w -p %s | grep -vw mem' % (os.getpid(),))
342
assert 0, "%s leaked FDs. Count before: %s, after: %s" % (
343
self, self._fd_count_before, get_fd_count(),
344
)
0 commit comments