Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_imghdr.cpython-311.opt-1.pyc |
�
�KeA � �� � d dl Z d dlZd dlZd dlZd dlZd dlmZmZ d dlm Z m
Z
ej d� � ZdZ
G d� de j � � Z G d� d ej � � Zed
k r ej � � dS dS )� N)�findfile�warnings_helper)�TESTFN�unlink�imghdr))�
python.png�png)z
python.gif�gif)z
python.bmp�bmp)z
python.ppm�ppm)z
python.pgm�pgm)z
python.pbm�pbm)z
python.jpg�jpeg)zpython-raw.jpgr )z
python.ras�rast)z
python.sgi�rgb)zpython.tiff�tiff)z
python.xbm�xbm)zpython.webp�webp)z
python.exr�exrc � � e Zd Zd� Zd� ZdS )�UnseekableIOc � � t j ��N��io�UnsupportedOperation��selfs �:/usr/local/apps/python3/lib/python3.11/test/test_imghdr.py�tellzUnseekableIO.tell � � ��%�%� c � � t j �r r )r �args�kwargss r �seekzUnseekableIO.seek! r! r"