bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687)

This commit is contained in:
pxinwr 2020-12-16 05:20:07 +08:00 committed by GitHub
parent 9cc8fa6ac8
commit e1e3c2dac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 46 deletions

View file

@ -46,6 +46,7 @@ class SelectTestCase(unittest.TestCase):
self.assertIsNot(r, x)
self.assertIsNot(w, x)
@unittest.skipUnless(hasattr(os, 'popen'), "need os.popen()")
def test_select(self):
code = textwrap.dedent('''
import time