Skip to content
Permalink
Browse files

fix unit test

  • Loading branch information...
sdpython committed Dec 8, 2017
1 parent 2e25b38 commit 684b4219bd9856d1bec1f30a677bb04a7ebbb1c3
Showing with 4 additions and 0 deletions.
  1. +4 −0 _unittests/ut_loghelper/test_process_helper.py
@@ -6,6 +6,7 @@
import sys
import os
import unittest
import warnings


try:
@@ -45,6 +46,9 @@ def test_reap_children(self):
clog('proc={} pid={}'.format(proc, proc.pid))
ki = reap_children(fLOG=clog, subset={proc.pid})
clog('ki={0}'.format(ki))
if ki is None and not is_travis_or_appveyor() and __name__ != '__main__':
warnings.warn(
"reap_children could not be fully tested ki is None.")
self.assertTrue(ki is not None)
self.assertEqual(len(ki), 1)
# fLOG(ki)

0 comments on commit 684b421

Please sign in to comment.
You can’t perform that action at this time.