File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test_posixpath.cpython-312.pyc
�
}h�e�� � � � d dl Z d dlZd dlZd dlZd dlmZmZmZmZ d dlm Z d dl
mZ d dl
mZ d dl
mZ d dlmZ d dlZ eej$ � Zd� Zd � Z G d
� dej, � Z G d� d
e j0 ej, � Z G d� dej, � Zedk( r ej8 � yy# e$ r dZY ��w xY w)� N)�realpath�abspath�dirname�basename)�test_genericpath)�
import_helper)� os_helper)�FakePath)�mockc �V � dt v }d}| t j |� | � g| S )z�
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.
�\z'ABSTFN is not a posix path - tests fail)�ABSTFN�unittest�skip)�test�found_backslash�msgs �:/opt/alt/python312/lib64/python3.12/test/test_posixpath.py�!skip_if_ABSTFN_contains_backslashr s3 � � �f�n�O�
3�C��$�(�-�-��$�T�*�+�O�<�<� c �N � t j | � y # t $ r Y y w xY w�N)�os�rmdir�OSError)r s r �
safe_rmdirr ! s% � �
�
�������
��
�s � � $�$c �T � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zej"