. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/hc_python/lib/python3.12/site-packages/nose/__pycache__/ |
Upload File : |
�
���g�W � � � d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZmZm
Z
ddlZej dk( r:ej dd d k rddlZ ej$ d
� ddlmZ n G d� d
e� Z ej, e� Z e� Zd� Z G d� de� Z G d� dej: � Z G d� de� Z G d� de� Z G d� de� Z! G d� dej: � Z" G d� d� Z# G d� d� Z$y)z�
Test Suites
-----------
Provides a LazySuite, which is a suite whose test list is a generator
function, and ContextSuite,which can run fixtures (setup/teardown
functions or methods) for the context that contains its tests.
� N)�Test)�Config)�ResultProxyFactory)�isclass�resolve_name�try_run�cli� )r
� �
IronPython)�StringExceptionc � � e Zd Zy)r
N)�__name__�
__module__�__qualname__� � �9/opt/hc_python/lib/python3.12/site-packages/nose/suite.pyr
r
s � �r r
c �8 � | j �d| j ��S )N�.)r r )�clss r � _strclassr % s � ��n�n�c�l�l�3�3r c � � e Zd ZdZy)�MixedContextErrorzQError raised when a context suite sees tests from more than
one context.
N)r r r �__doc__r r r r r ( s � �� r r c �n � � e Zd ZdZd
� fd� Zd� Zd� Zd� ZeZd� Z d� Z
d� Zd � Zd
� Z
eee
dd� Z� xZS )� LazySuitez:A suite that may use a generator as its list of tests
c �L �� t t | � � | j |� y)zFInitialize the suite. tests may be an iterable or a generator
N)�superr �__init__�
_set_tests)�self�tests� __class__s �r r zLazySuite.__init__2 s �� � �i��'�)�����r c �, � t | j � S �N)�iter�_tests�r"