def test_invalid_bufsize(self):
        # an invalid type of the bufsize argument should raise
        # TypeError.
        try:
            subprocess.Popen([sys.executable, "-c", "pass"], "orange")
        except __HOLE__:
            pass
        else:
            self.fail("Expected TypeError")

    #
    # POSIX tests
    #
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_subprocess.py/ProcessTestCase.test_invalid_bufsize