summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-27 21:15:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-27 21:15:41 (GMT)
commit2fb9ae9dfc5a6830d902332ba93b13387e292ddb (patch)
treecd0411d1e3b9e2ef98afd2f00a3e8945a361cf8c /Lib
parente7437a7cb3c9e8fa945a3e803693fdc0c593876f (diff)
downloadcpython-2fb9ae9dfc5a6830d902332ba93b13387e292ddb.zip
cpython-2fb9ae9dfc5a6830d902332ba93b13387e292ddb.tar.gz
cpython-2fb9ae9dfc5a6830d902332ba93b13387e292ddb.tar.bz2
add a flags parameter to select.epoll
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_epoll.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py
index 275e598..b899b6e 100644
--- a/Lib/test/test_epoll.py
+++ b/Lib/test/test_epoll.py
@@ -74,6 +74,8 @@ class TestEPoll(unittest.TestCase):
ep.close()
self.assertTrue(ep.closed)
self.assertRaises(ValueError, ep.fileno)
+ select.epoll(select.EPOLL_CLOEXEC).close()
+ self.assertRaises(OSError, select.epoll, flags=12356)
def test_badcreate(self):
self.assertRaises(TypeError, select.epoll, 1, 2, 3)