Current File : //proc/self/root/lib/python3/dist-packages/twisted/test/__pycache__/test_paths.cpython-312.pyc |
�
Ϫ�f�& � � � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZ ddlm
Z
mZmZmZmZmZmZmZmZ ddlmZ ddlmZ ddlmZ dd lmZ dd
lmZmZ ddl m!Z! ddl"m#Z# dd
l$m%Z& e!jN � Z( G d� de&� Z) G d� de)� Z* G d� dejV e � Z,ejB dk7 r
G d� d� Z- G d� de)� Z. G d� d� Z/ G d� dejV e � Z0 G d� dejV e � Z1 ed� Z2 G d � d!e)� Z3 G d"� d#e*� Z4 G d$� d%e)� Z5 G d&� d'e&� Z6y)(z1
Test cases covering L{twisted.python.filepath}.
� )�annotationsN)�pformat) �IO�AnyStr�Callable�Dict�List�Optional�Tuple�TypeVar�Union)�skipIf)�verifyObject)�NoReturn)�filepath)�FileMode�OtherAnyStr)�platform)�ERROR_DIRECTORY)�SynchronousTestCasec � � e Zd ZdZdd�Zy)�
BytesTestCasezH
Override default method implementations to support byte paths.
c �J � t j | � j d� S )z<
Return a temporary path, encoded as bytes.
�utf-8)�TestCase�mktemp�encode��selfs �9/usr/lib/python3/dist-packages/twisted/test/test_paths.pyr zBytesTestCase.mktemp'