summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-06-22 16:32:07 (GMT)
committerJesus Cea <jcea@jcea.es>2012-06-22 16:32:07 (GMT)
commit9436361e4cdd7d3dc5f42674b54995c4915afb59 (patch)
tree18ecfd666aa3101811f6e79a5ca883293917a88b /Lib/test/test_io.py
parentff493c9c465ba9502629bf5001f690068be97f33 (diff)
downloadcpython-9436361e4cdd7d3dc5f42674b54995c4915afb59.zip
cpython-9436361e4cdd7d3dc5f42674b54995c4915afb59.tar.gz
cpython-9436361e4cdd7d3dc5f42674b54995c4915afb59.tar.bz2
Closes #10142: Support for SEEK_HOLE/SEEK_DATA
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 1951a06..54ba179 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -706,7 +706,7 @@ class CommonBufferedTests:
bufio = self.tp(rawio)
# Invalid whence
self.assertRaises(ValueError, bufio.seek, 0, -1)
- self.assertRaises(ValueError, bufio.seek, 0, 3)
+ self.assertRaises(ValueError, bufio.seek, 0, 9)
def test_override_destructor(self):
tp = self.tp