文件操作 - test_main.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /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 �"