Server IP : 192.158.238.246 / Your IP : 3.144.84.11 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/nose/__pycache__/ |
Upload File : |
B /�Se}3 � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl mZmZm Z e�e�ZdgZG dd� dej�ZG d d � d ej�ZG dd� de�ZG d d� de�ZdS )z�nose unittest.TestCase subclasses. It is not necessary to subclass these classes when writing tests; they are used internally by nose.loader.TestLoader to create test cases from test functions and methods in test classes. � N)� isfunction)�Config)�Failure)�resolve_name�test_address�try_run�Testc @ s� e Zd ZdZdZddd�Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zdd� Zdd� Z dd� Zeeddd�Zdd� Zdd� Zdd� ZdS ) r z�The universal test case wrapper. When a plugin sees a test, it will always see an instance of this class. To access the actual test case that will be run, access the test property of the nose.case.Test instance. FNc C s^ t |�std| ��|| _|d kr(t� }|| _d | _d | _|| _|j| _d | _ t j�| � d S )NzTnose.case.Test called with argument %r that is not callable. A callable is required.) �callable� TypeError�testr �configZtbinfoZcapturedOutput�resultProxy�pluginsZpassed�unittest�TestCase�__init__)�selfr r r � r �:/opt/alt/python37/lib/python3.7/site-packages/nose/case.pyr s z Test.__init__c O s | j ||�S )N)�run)r �arg�kwargr r r �__call__, s z Test.__call__c C s"