summaryrefslogtreecommitdiff
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2012-06-26 10:26:53 +0300
committerPetri Lehtinen <petri@digip.org>2012-06-26 10:26:53 +0300
commit239197411080a3d41fd9ddca19aaa63c7aa9304e (patch)
treebbfd0b2abd19bfea9c482cdf6a3fea1754b3bf3f /Lib/test/test_posix.py
parent6c3f1dd83493e1904c8ab7d191038dddda7ef50b (diff)
parent969288e488f6d261fbfbab43dcbe6bb6afce28c0 (diff)
downloadcpython-git-239197411080a3d41fd9ddca19aaa63c7aa9304e.tar.gz
Merge heads
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 776439f926..9bedc7d237 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -730,7 +730,7 @@ class PosixTester(unittest.TestCase):
if os.utime in os.supports_follow_symlinks:
try:
posix.utime(support.TESTFN, follow_symlinks=False, dir_fd=f)
- except RuntimeError:
+ except ValueError:
# whoops! using both together not supported on this platform.
pass