test/test_c10d.py
def _check_return_codes(self):
        """
        Checks that the return codes of all spawned processes match, and skips
        tests if they returned a return code indicating a skipping condition.
        """
        first_process = self.processes[0]
        for p in self.processes:
            self.assertEqual(p.exitcode, first_process.exitcode)
        for skip in TEST_SKIPS.values():
            if first_process.exitcode == skip.exit_code:
                raise unittest.SkipTest(skip.message)
        self.assertEqual(first_process.exitcode, 0)

        Checks that the return codes of all spawned processes match, and skips
        tests if they returned a return code indicating a skipping condition.
        
Checks that the return codes of all spawned processes match, and skips
tests if they returned a return code indicating a skipping condition.
Checks that the return codes of all spawned processes match and skips tests if they returned a return code indicating a skipping condition .
def _check_return_codes(self):
        first_process = self.processes[0]
        for p in self.processes:
            self.assertEqual(p.exitcode, first_process.exitcode)
        for skip in TEST_SKIPS.values():
            if first_process.exitcode == skip.exit_code:
                raise unittest.SkipTest(skip.message)
        self.assertEqual(first_process.exitcode, 0)
def _check_return_codes ( self ) : first_process = self . processes [ 0 ] for p in self . processes : self . assertEqual ( p . exitcode , first_process . exitcode ) for skip in TEST_SKIPS . values ( ) : if first_process . exitcode == skip . exit_code : raise unittest . SkipTest ( skip . message ) self . assertEqual ( first_process . exitcode , 0 )
Checks that the return codes of all spawned processes match, and skips
tests if they returned a return code indicating a skipping condition.
Checks that the return codes of all spawned processes match and skips tests if they returned a return code indicating a skipping condition .
"""
        Checks that the return codes of all spawned processes match, and skips
        tests if they returned a return code indicating a skipping condition.
        """
self