summaryrefslogtreecommitdiff
path: root/Lib/test/test_file.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-12-15 05:25:09 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2005-12-15 05:25:09 +0000
commita716eabca79f5da1605d758654b74798b90931d9 (patch)
treecb333c9e506fc6bef075058ff5b848d6b4677168 /Lib/test/test_file.py
parentb1975436808898d7588a00adec33524bb561089f (diff)
downloadcpython-git-a716eabca79f5da1605d758654b74798b90931d9.tar.gz
Revert r41662 and the part of 41552 that originally caused the problem
(calling ftell(stdin) doesn't seem defined). So we won't test errors from ftell unless we can do it portably.
Diffstat (limited to 'Lib/test/test_file.py')
-rw-r--r--Lib/test/test_file.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py
index ade7a6fb96..bde3202e8c 100644
--- a/Lib/test/test_file.py
+++ b/Lib/test/test_file.py
@@ -108,13 +108,6 @@ else:
print "should not be able to seek on sys.stdin"
try:
- sys.stdin.tell()
-except IOError:
- pass
-else:
- print "should not be able to tell on sys.stdin"
-
-try:
sys.stdin.truncate()
except IOError:
pass