Current File : //usr/local/apps/python3/lib/python3.11/distutils/tests/__pycache__/test_filelist.cpython-311.pyc |
�
�Ke�, � �, � d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZmZm
Z
ddlmZ ddlmZ dd lmZmZ dd
lmZ dZd� Z G d
� dej ej � � Z G d� dej � � Zd� Zedk r e e� � � � dS dS )zTests for distutils.filelist.� N)�debug)�WARN)�DistutilsTemplateError)�
glob_to_re�translate_pattern�FileList)�filelist)� os_helper)�captured_stdout�run_unittest)�supportz�include ok
include xo
exclude xo
include foo.tmp
include buildout.cfg
global-include *.x
global-include *.txt
global-exclude *.tmp
recursive-include f *.oo
recursive-exclude global *.x
graft dir
prune dir3
c �B � | � dt j � � S )z"Converts '/' in a string to os.sep�/)�replace�os�sep)�ss �G/usr/local/apps/python3/lib/python3.11/distutils/tests/test_filelist.py�make_local_pathr s � ��9�9�S�"�&�!�!�!� c �P � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
dS )
�FileListTestCasec � � | � | � t � � g � � | � � � d S �N)�assertEqual�get_logsr �
clear_logs��selfs r �assertNoWarningsz!FileListTestCase.assertNoWarnings'