summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_devpoll.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-15 14:36:20 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-15 14:36:20 (GMT)
commit21ebbb27776767fb06d57128c0d002628e86c671 (patch)
treef85a0e117d26dbe8f2e18059207a00f401bc9211 /Lib/test/test_devpoll.py
parent720c7e28cb892204debd1b3820e460a9d654f178 (diff)
downloadcpython-21ebbb27776767fb06d57128c0d002628e86c671.zip
cpython-21ebbb27776767fb06d57128c0d002628e86c671.tar.gz
cpython-21ebbb27776767fb06d57128c0d002628e86c671.tar.bz2
Import USHRT_MAX to fix failing test_devpool test
Diffstat (limited to 'Lib/test/test_devpoll.py')
-rw-r--r--Lib/test/test_devpoll.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_devpoll.py b/Lib/test/test_devpoll.py
index bd0db61..7fa4203 100644
--- a/Lib/test/test_devpoll.py
+++ b/Lib/test/test_devpoll.py
@@ -8,6 +8,7 @@ import select
import sys
import unittest
from test.support import TESTFN, run_unittest
+from _testcapi import USHRT_MAX
try:
select.devpoll