Older version compatibility.

This commit is contained in:
Ryan Williams
2010-07-23 17:17:18 -07:00
parent ba6b31a436
commit af2317d66a

View File

@@ -41,9 +41,12 @@ def new_closeall_check(self, usedefault):
HelperFunctionTests.closeall_check = new_closeall_check
# Eventlet's select() emulation doesn't support the POLLPRI flag,
# which this test relies on. Therefore, nuke it!
BaseTestAPI.test_handle_expt = lambda *a, **kw: None
try:
# Eventlet's select() emulation doesn't support the POLLPRI flag,
# which this test relies on. Therefore, nuke it!
BaseTestAPI.test_handle_expt = lambda *a, **kw: None
except NameError:
pass
if __name__ == "__main__":
test_main()