summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-08-01 00:14:22 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-08-01 00:14:22 (GMT)
commite2e36ba69600bf01ab43a003f788dbfab6e27cd1 (patch)
tree16680ebcdefd5c9fc65732519b02fcb6de3ebbd6 /Lib/test/test_posix.py
parentbdbddf8a82efd0e67f4006af91ce65bec2bf0a60 (diff)
downloadcpython-e2e36ba69600bf01ab43a003f788dbfab6e27cd1.zip
cpython-e2e36ba69600bf01ab43a003f788dbfab6e27cd1.tar.gz
cpython-e2e36ba69600bf01ab43a003f788dbfab6e27cd1.tar.bz2
posix.fdopen does not exists any more; and os.fdopen exists on all platforms.
Move tests from test_posix to test_os.
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index b7ce71e..5b5198d 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -89,17 +89,6 @@ class PosixTester(unittest.TestCase):
fp1.close()
fp2.close()
- def fdopen_helper(self, *args):
- fd = os.open(support.TESTFN, os.O_RDONLY)
- fp2 = posix.fdopen(fd, *args)
- fp2.close()
-
- def test_fdopen(self):
- if hasattr(posix, 'fdopen'):
- self.fdopen_helper()
- self.fdopen_helper('r')
- self.fdopen_helper('r', 100)
-
def test_osexlock(self):
if hasattr(posix, "O_EXLOCK"):
fd = os.open(support.TESTFN,