%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/test/ |
Current File : //usr/local/lib/python2.7/test/test_posixpath.pyc |
ó Nêáac @ s d d l Z d d l m Z m Z d d l m Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z y d d l Z Wn e k r¡ e Z n Xe e j ƒ Z d „ Z d „ Z d e j f d „ ƒ YZ d e j f d „ ƒ YZ d „ Z e d k re ƒ n d S( iÿÿÿÿN( t test_supportt test_genericpath( R ( t realpatht abspatht dirnamet basenamec C s/ d t k } d } | t j | ƒ | ƒ g | S( s On Windows, posixpath.abspath still returns paths with backslashes instead of posix forward slashes. If this is the case, several tests fail, so skip them. s \s' ABSTFN is not a posix path - tests fail( t ABSTFNt unittestt skip( t testt found_backslasht msg( ( s/ /usr/local/lib/python2.7/test/test_posixpath.pyt! skip_if_ABSTFN_contains_backslash s c C s) y t j | ƒ Wn t k r$ n Xd S( N( t ost rmdirt OSError( R ( ( s/ /usr/local/lib/python2.7/test/test_posixpath.pyt safe_rmdir s t PosixPathTestc B s¦ e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e j e e d ƒ d ƒ d „ ƒ Z e j e d$ k d ƒ d „ ƒ Z e j e d$ k d ƒ d „ ƒ Z d „ Z d „ Z d „ Z d „ Z e d „ ƒ Z e d „ ƒ Z e e d ƒ r}d „ Z! d „ Z"