Commit 57a12331 authored by Andrew Svetlov's avatar Andrew Svetlov

fix test for subprocess (#16644)

parent c73f863a
......@@ -2023,8 +2023,7 @@ class ContextManagerTests(BaseTestCase):
stderr=subprocess.PIPE) as proc:
pass
if c.exception.errno != errno.ENOENT: # ignore "no such file"
raise c.exception
self.assertEqual(c.exception.errno, errno.ENOENT)
def test_main():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment