summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-06-22 19:35:24 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-06-22 19:35:24 (GMT)
commit2694eb021977322eefeb39e71b13eb20085c20a2 (patch)
tree159b8185521189866507285146164fa2c9ed8d69 /Lib/test/test_posix.py
parent3e8bb4e9b0585049c568d8197e088c29b05a3cb7 (diff)
downloadcpython-2694eb021977322eefeb39e71b13eb20085c20a2.zip
cpython-2694eb021977322eefeb39e71b13eb20085c20a2.tar.gz
cpython-2694eb021977322eefeb39e71b13eb20085c20a2.tar.bz2
Just returning nothing instead of rising TestSkipped, because
it makes the test fail in the trunk.loewis-sun buildbot.
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 8480f49..5f40060 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -242,7 +242,11 @@ class PosixTester(unittest.TestCase):
os.mkdir(base_path)
os.chdir(base_path)
except:
- raise test_support.TestSkipped, "mkdir cannot create directory sufficiently deep for getcwd test"
+# Just returning nothing instead of the TestSkipped exception,
+# because the test results in Error in that case.
+# Is that ok?
+# raise test_support.TestSkipped, "cannot create directory for testing"
+ return
try:
def _create_and_do_getcwd(dirname, current_path_length = 0):