관리-도구
편집 파일: config.cpython-38.pyc
U )�e�b � @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlmZm Z d dl mZ d dlm Z mZ e �e�ZddgZdd gZd Zededd � G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zdd� Zdd� Zdd� Zdd� Z dS ) � N)�OptionParser)�absdir�tolist)� NoPlugins)�warn�filterwarnings�help�verbosez ~/.nosercz ~/nose.cfg)�win32�cli�alwaysz(.*\.)?nose\.config)�category�modulec @ s e Zd Zdd� ZdS )�NoSuchOptionErrorc C s t �| |� || _d S �N)� Exception�__init__�name)�selfr � r �9/opt/hc_python/lib/python3.8/site-packages/nose/config.pyr s zNoSuchOptionError.__init__N)�__name__� __module__�__qualname__r r r r r r s r c @ s e Zd ZdS )�ConfigErrorN)r r r r r r r r % s r c @ sR e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� ZdS )�ConfiguredDefaultsOptionParserz@ Handler for options from commandline and config files. Nc s@ || _ || _� d kr| j j� � | _|d kr6� fdd�}|| _d S )Nc s � | �S r r )�msg�kw��errorr r �<lambda>4 � z9ConfiguredDefaultsOptionParser.__init__.<locals>.<lambda>)�_parser�_config_sectionr �_error�_file_error)r �parserZconfig_sectionr � file_errorr r r r - s z'ConfiguredDefaultsOptionParser.__init__c C s<