← Back
Editing: test_tools.cpython-311.pyc
� �@�c= � �� � d Z ddlZddlZddlmZ ddlmZ ej d� � � Z ej d� � � Zd� Zd� Z G d � d ej � � Z G d� dej � � ZdS ) z Tests for testing.tools � N)� decorators)�toolsc �� � d} t j | ddg� � }|sJ ddk g� � �d} t j | ddg� � }|sJ ddk g� � �t j | d� � }|dgk sJ �d S ) Nz/foo/bar.py�a.txt�b.txtz /foo/a.txtz /foo/b.txtz/fooz/a.txtz/b.txt��tt� full_path��spath�results �B/usr/lib/python3/dist-packages/IPython/testing/tests/test_tools.py�test_full_path_posixr s� � ��E� �\�%�'�7�!3� 4� 4�F��1�1�L�L�0�1�1�1�1��E� �\�%�'�7�!3� 4� 4�F��)�)�H��(�)�)�)�)� �\�%�� )� )�F��h�Z������� c �� � d} t j | ddg� � }|sJ ddk g� � �d} t j | ddg� � }|sJ ddk g� � �t j | d� � }|dgk sJ �d S ) Nz c:\foo\bar.pyr r zc:\foo\a.txtzc:\foo\b.txtzc:\foozc:\a.txtzc:\b.txtr r s r �test_full_path_win32r '