Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_gzip.cpython-311.opt-2.pyc |
�
�Ke�} � �� � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z m
Z
d dlmZ d dlm
Z
d dlmZmZmZ d dlmZmZ ej d� � ZdZd Zej � e
j � � d
z Z G d� dej � � Z G d
� dej � � Z G d� de� � Z G d� de� � Z!d� Z" G d� dej � � Z#e$dk r ej% � � dS dS )� N)�PIPE�Popen)�
import_helper)� os_helper)�_4G�
bigmemtest�requires_subprocess)�assert_python_ok�assert_python_failure�gzipsy int length=DEFAULTALLOC, err = Z_OK;
PyObject *RetVal;
int flushmode = Z_FINISH;
unsigned long start_total_out;
s� /* zlibmodule.c -- gzip-compatible data compression */
/* See http://www.gzip.org/zlib/
/* See http://www.winimage.com/zLibDll for Windows */
z-gzdirc � � e Zd Zd� Zd� Zd� ZdS )�UnseekableIOc � � dS )NF� ��selfs �8/usr/local/apps/python3/lib/python3.11/test/test_gzip.py�seekablezUnseekableIO.seekable% s � ��u� c � � t j ��N��io�UnsupportedOperationr s r �tellzUnseekableIO.tell( � � ��%�%r c � � t j �r r )r �argss r �seekzUnseekableIO.seek+ r r N)�__name__�
__module__�__qualname__r r r r r r r r $ sA � � � � � �� � �&� &� &�&� &� &� &� &r r c �( � e Zd Zej Zd� Zd� ZdS )�BaseTestc �8 � t j | j � � d S r �r �unlink�filenamer s r �setUpzBaseTest.setUp2 � � �����'�'�'�'�'r c �8 � t j | j � � d S r r&