Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_fileutils.cpython-311.pyc |
�
�Ke� � � � d dl Z d dlZ d dlZd dlmZ ej d� � Z G d� dej � � Ze dk r ej
� � dS dS )� N)�
import_helper�_testinternalcapic � � e Zd Zd� ZdS )� PathTestsc
� � t j dk rt j d� � �ddlm} |j }|D ]�\ }}t j � |� � s�%| � |� � 5 t � |� � }| � ||d|�d|���� � d d d � � n# 1 swxY w Y ��d S )N�ntz#Windows has its own helper for thisr )�
PosixPathTestzinput: z expected output: )�msg)
�os�name�unittest�SkipTest�test.test_posixpathr �NORMPATH_CASES�path�isabs�subTest� _testcapi�normalize_path�assertEqual)�self� posixdata�tests�filename�expected�results �=/usr/local/apps/python3/lib/python3.11/test/test_fileutils.py�test_capi_normalize_pathz"PathTests.test_capi_normalize_path s7 � �
�7�d�?�?��#�$I�J�J�J�F�F�F�F�F�F��,�E�"'� N� N��H�h��7�=�=��*�*�
�����h�'�'�
N�
N�"�1�1�(�;�;��� � ���L�(�L�L��L�L� !� N� N� N�
N�
N�
N�
N�
N�
N�
N�
N�
N�
N�
N����
N�
N�
N�
N�� N� Ns �.9B3�3B7 �:B7 N)�__name__�
__module__�__qualname__r � � r r r s( � � � � � �N� N� N� N� Nr# r �__main__)r �os.pathr
�test.supportr �
import_moduler �TestCaser r �mainr"