Michael Foord <mich...@voidspace.org.uk> added the comment: The patch includes an unconditional "import posix" that will fail on Windows.
posixpath is available on windows (although not *all* its functionality makes sense), so the whole test should not be skipped - but it is reasonable to skip just the new tests using posix. Something like: try: import posix except ImportError: posix = None Then decorated tests that use posix with: @unittest.skipIf(posix is None, "Test requires posix module") ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11503> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com