관리-도구
편집 파일: Tester.cpython-37.pyc
B �]�_ � @ sL G d d� d�Z G dd� d�ZG dd� d�ZG dd� de �ZG dd � d �Zd S )c @ s e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Zd5d6� Zd7d8� Zd9d:� Zd;d<� Z d=d>� Z!d?d@� Z"dAdB� Z#dCdD� Z$dES )F� Doc2Testerc C sV || _ || _|| _g | _| �g � i | _i | _i | _g | _d | _ d | _ i | _d| _d S )N� ) �mod�doc�node�exdefs�set_out� test_namesZcondition_exprs�condition_methods�document_metas� document_lang�document_title� example_exprs�ex_id)�selfr r r � r �C/opt/alt/python37/lib64/python3.7/site-packages/guppy/gsl/Tester.py�__init__ s zDoc2Tester.__init__c C s@ | j j}x2|jD ](}y|�| � W q |k r6 Y qX qW d S )N)r � ReportedError�children�accept)r r �E�chr r r �_visit_children s zDoc2Tester._visit_childrenc G s | � |� d S )N)�extend)r �argsr r r �ap s z Doc2Tester.apc O s"