Your IP : 3.145.112.33
�
��bgd� � � � d Z ddlZddlZddlZddlZddlZddlmZmZ ddl m
Z
ddlmZm
Z
mZmZmZmZmZmZmZmZmZmZmZ ddlmZ ddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z% erddl&m'Z' ed Z(ed
Z) G d� de*� � Z+ G d
� d� � Z, G d� de,� � Z- G d� de,� � Z. G d� de,� � Z/ G d� de/� � Z0 G d� d� � Z1 G d� d� � Z2 G d� d� � Z3 G d� d� � Z4dS )z1Fake implementations for different file objects.
� N)�S_IFREG�S_IFDIR)�
TracebackType)
�List�Optional�Callable�Union�Any�Dict�cast�AnyStr�NoReturn�Iterator�TextIO�Type�
TYPE_CHECKING)�helpers)
�FakeStatResult�BinaryBufferIO�TextBufferIO�is_int_type�is_unicode_string� to_string�matching_string�
real_encoding�AnyPath� AnyString)�FakeFilesystem)�FakeFileWrapper�FakeDirWrapper�StandardStreamWrapper�FakePipeWrapper)�FakeFile�
FakeDirectoryc �, � � e Zd ZdZdeddf� fd�Z� xZS )�FakeLargeFileIoExceptionz|Exception thrown on unsupported operations for fake large files.
Fake large files have a size with no real content.
� file_path�returnNc �^ �� t t | � � � d|z � � d S )Nz?Read and write operations not supported for fake large file: %s)�superr&