Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
opt
›
alt
›
python38
›
lib64
›
python3.8
›
test
›
test_email
›
__pycache__
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_inversion.cpython-38.opt-1.pyc
← Back
U i�f � @ s| d Z ddlZddlZddlmZmZ ddlmZ ddlm Z ddl mZmZ dd� Z eG d d � d e��Zedkrxe�� dS )z�Test the parser and generator are inverses. Note that this is only strictly true if we are parsing RFC valid messages and producing RFC valid messages. � N)�policy�message_from_bytes)�EmailMessage)�BytesGenerator)� TestEmailBase�parameterizec sP | � � }|d �� std��t|d �t|d �� � � d�� fdd�|D ��S )Nr zFirst line must contain texts c s( g | ] }t |�� kr |� d � nd�qS )N� )�len)�.0�x�Zstripamt� �C/opt/alt/python38/lib64/python3.8/test/test_email/test_inversion.py� <listcomp> s �zdedent.<locals>.<listcomp>)� splitlines�strip� ValueErrorr �lstrip�join)Zbstr�linesr r r �dedent s ��r c @ sV e Zd ZejZeZdd� Zded�fiZ e dd�e ddd �e dd d �d�Zdd � ZdS )� TestInversionc C s<