Файловый менеджер - Редактировать - /home/skymarketplace/public_html/uploads/tests.tar
Назад
__init__.py 0000644 00000000765 15004414217 0006663 0 ustar 00 #!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2018-2023 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/dill/blob/master/LICENSE """ to run this test suite, first build and install `dill`. $ python setup.py build $ python setup.py install then run the tests with: $ python -m dill.tests or, if `nose` is installed: $ nosetests """ __main__.py 0000644 00000001603 15004414217 0006634 0 ustar 00 #!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2018-2023 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/dill/blob/master/LICENSE import glob import os import sys import subprocess as sp python = sys.executable try: import pox python = pox.which_python(version=True) or python except ImportError: pass shell = sys.platform[:3] == 'win' suite = os.path.dirname(__file__) or os.path.curdir tests = glob.glob(suite + os.path.sep + 'test_*.py') if __name__ == '__main__': failed = 0 for test in tests: p = sp.Popen([python, test], shell=shell).wait() if p: print('F', end='', flush=True) failed = 1 else: print('.', end='', flush=True) print('') exit(failed) __pycache__/test_recursive.cpython-311.pyc 0000644 00000025525 15004414217 0014533 0 ustar 00 � ��bgV � �X � d dl Z d dlmZ d dlZd"d�Z G d� de� � Z G d� de� � Z G d � d e� � Zd� Z d� Z G d � de� � Z G d� de� � Zd� Z G d� de� � Z G d� de� � Zd� Z G d� de� � Zd� Zd� Zd� Zd� ad� Zd� Zd� Zed k r� ej � � 5 ej d!� � e � � e � � e� � e� � e� � e� � e� � ddd� � dS # 1 swxY w Y dS dS )#� N)�partialFc � � |ri t j | ||�� � S # t $ r Y nw xY wt j d� � t j | ||�� � }t j d� � |S t j | ||�� � S )N��byref�recursezCopy of z- with byref=True should have given a warning!�ignore�error)�dill�copy�AssertionError� Exception�warnings�simplefilter)�objr r �vals �j/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/dill/tests/test_recursive.pyr r s� � �� <� e��9�S��w�?�?�?�?��� � � ��D� ���� ��h�'�'�'��i��5�'�:�:�:����g�&�&�&�� ��y��E�7�;�;�;�;s � � (�(c � � � e Zd Z� fd�Z� xZS )�obj1c �V �� t t | � � � � � d S �N)�superr �__init__��self� __class__s �r r z obj1.__init__ �% �� � �d�D���"�"�$�$�$�$�$� ��__name__� __module__�__qualname__r � __classcell__�r s @r r r �8 �� � � � � �%� %� %� %� %� %� %� %� %r r c � � � e Zd Z� fd�Z� xZS )�obj2c �V �� t t | � � � � � d S r )r r&