commit | a7719e27b3cad0f2b86cb932a76cbe55c541b02e | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Sat Aug 19 00:34:00 2017 +0200 |
committer | GitHub <noreply@github.com> | Sat Aug 19 00:34:00 2017 +0200 |
tree | 86c432e7b117b4aff9f3888ea586fe18503428b1 | |
parent | 6966960468327c958b03391f71f24986bd697307 [diff] [blame] |
bpo-31235: Fix ResourceWarning in test_logging (#3147)
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 226532a..f4aef9f 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py
@@ -797,6 +797,8 @@ """ self.close() self._thread.join(timeout) + asyncore.close_all(map=self._map, ignore_all=True) + alive = self._thread.is_alive() self._thread = None if alive: