Patch for ubuntu-latest CI
@@ -2091,6 +2091,8 @@ class PosixUidGidTests(unittest.TestCase):
self.assertRaises(OverflowError, os.setregid, self.GID_OVERFLOW, 0)
self.assertRaises(OverflowError, os.setregid, 0, self.GID_OVERFLOW)
+ # TODO: RUSTPYTHON (subprocess.CalledProcessError)
+ @unittest.expectedFailure
@unittest.skipUnless(hasattr(os, 'setregid'), 'test needs os.setregid()')
def test_setregid_neg1(self):
# Needs to accept -1. We run this in a subprocess to avoid
