%PDF- %PDF-
Direktori : /lib/python3/dist-packages/reportlab/lib/__pycache__/ |
Current File : //lib/python3/dist-packages/reportlab/lib/__pycache__/testutils.cpython-312.pyc |
� �eY3 � � � d dl Z de _ [ dZdZd dlZd dlZd dlZd dlZd dlZd dl m Z d dlZd dlm Z mZmZmZ d� Zd� Zdadadad � Zej. j1 d d� dk7 rdndfZd � Zd� Zd'd�Zdd�d�Zd(d�Z G d� de � Z G d� d� Z G d� de � Z! G d� de � Z" G d� dejF � Z$ G d� dejF � Z% G d� d ejF � Z&d)d!�Z'd"� Z(d#� Z)d*d$�Z*d*d%�Z+d*d&�Z,y)+� NTz4.0.1a Provides support for the test suite. The test suite as a whole, and individual tests, need to share certain support functions. We have to put these in here so they can always be imported, and so that individual tests need to import nothing more than "reportlab.whatever..." )�ConfigParser)�isCompactDistro� __rl_loader__�rl_isdir� asUnicodec �8 � ddl m} m} | � S # |$ r Y yw xY w)Nr �� _getPMBackend� RenderPMErrorF)�reportlab.graphics.renderPMr r r s �9/usr/lib/python3/dist-packages/reportlab/lib/testutils.py�haveRenderPMr s$ � �H������� ���s � ��c �� � d}t |d� }|j d� |j � t j j |� rt j |� yy # Y yxY w)Nz00DELETE.ME�wz$test of writability - can be deleted� r )�open�write�close�os�path�isfile�remove)�D�fn�fs r � isWritabler sZ � � � ����S�M�� ���6�7� ��� � �7�7�>�>�"���I�I�b�M�� ����s �A#A'