diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-30 00:11:25 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-30 00:11:25 +0100 |
| commit | 787b4945c6fde8d24b4038b493dd6aef2eb0c888 (patch) | |
| tree | b79f0b8379b2094fda48044d761d123240f71b22 /tests | |
| parent | cffe67de25372fa85ee1799788217bea84ab58cd (diff) | |
| download | trollius-git-787b4945c6fde8d24b4038b493dd6aef2eb0c888.tar.gz | |
Fix ResourceWarning in test_subprocess.test_proc_exit()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_subprocess.py b/tests/test_subprocess.py index 4f197f3..d4b71b7 100644 --- a/tests/test_subprocess.py +++ b/tests/test_subprocess.py @@ -87,6 +87,8 @@ class SubprocessTransportTests(test_utils.TestCase): self.assertRaises(ProcessLookupError, transport.terminate) self.assertRaises(ProcessLookupError, transport.kill) + transport.close() + class SubprocessMixin: |
