File: //usr/lib/python3/dist-packages/twisted/test/__pycache__/test_main.cpython-310.pyc
o
�bv � @ sT d Z ddlZddlmZ ddlmZmZ ddlmZ ddl m
Z
G dd� de
�ZdS ) z6
Test that twisted scripts can be invoked as modules.
� N)�StringIO)�defer�reactor)�Accumulator)�TestCasec @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) � MainTestsz4Test that twisted scripts can be invoked as modules.c �v t j}t� � t�� }� _tj� ||dddgdd� � j� � ddl
m} ��t d|j
dg� � �fd d
�}|�|�S )z0Invoking python -m twisted should execute twist.�-m�twisted�--helpN��envr ��__main__�argvc �"