Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r73589:80ee4756ddc3
Date: 2014-09-17 13:00 -0700
http://bitbucket.org/pypy/pypy/changeset/80ee4756ddc3/

Log:    handle older windows versions

diff --git a/pypy/module/posix/test/test_posix2.py 
b/pypy/module/posix/test/test_posix2.py
--- a/pypy/module/posix/test/test_posix2.py
+++ b/pypy/module/posix/test/test_posix2.py
@@ -1052,7 +1052,10 @@
         def test__getfinalpathname(self):
             import os
             path = os.path.join(self.pdir, 'file1')
-            result = self.posix._getfinalpathname(path)
+            try:
+                result = self.posix._getfinalpathname(path)
+            except NotImplementedError:
+                skip("_getfinalpathname not supported on this platform")
             assert os.path.exists(result)
 
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to