3
8ßL])  ã               @   s€   d Z ddlmZ ddlZddlmZ ddlmZmZm	Z	m
Z
mZmZmZ ddlmZmZ ddlmZ de_G dd	„ d	ejƒZdS )
z8 Tests to help find out if we can do type-safe casting. é    )Úabsolute_importN)Úreset_global_adaptation_manager)ÚAdapterÚ	HasTraitsÚInstanceÚIntÚ	InterfaceÚprovidesÚregister_factory)ÚInterfaceErrorÚcheck_implements)Ú
has_traitsc               @   s    e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd d!„ Zd"d#„ Zd$d%„ Zd&S )'ÚInterfaceCheckerTestCasez8 Tests to help find out if we can do type-safe casting. c             C   s
   t ƒ  dS )z> Prepares the test fixture before each test method is called. N)r   )Úself© r   úG/tmp/pip-install-5sebvq2j/traits/traits/tests/test_interface_checker.pyÚsetUp-   s    zInterfaceCheckerTestCase.setUpc             C   s8   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}t||dƒ dS )z non-traits class c               @   s   e Zd Zdd„ ZdS )z<InterfaceCheckerTestCase.test_non_traits_class.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   Úfoo;   s    z@InterfaceCheckerTestCase.test_non_traits_class.<locals>.IFoo.fooN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   ÚIFoo:   s   r   c               @   s   e Zd Zdd„ ZdS )z;InterfaceCheckerTestCase.test_non_traits_class.<locals>.Fooc             S   s   d S )Nr   )r   r   r   r   r   A   s    z?InterfaceCheckerTestCase.test_non_traits_class.<locals>.Foo.fooN)r   r   r   r   r   r   r   r   ÚFoo?   s   r   é   N)r   r	   Úobjectr   )r   r   r   r   r   r   Útest_non_traits_class7   s
    z.InterfaceCheckerTestCase.test_non_traits_classc             C   s8   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}t||dƒ dS )z single interface c               @   s   e Zd ZeZdS )z<InterfaceCheckerTestCase.test_single_interface.<locals>.IFooN)r   r   r   r   Úxr   r   r   r   r   M   s   r   c               @   s   e Zd ZeZdS )z;InterfaceCheckerTestCase.test_single_interface.<locals>.FooN)r   r   r   r   r   r   r   r   r   r   Q   s   r   r   N)r   r	   r   r   )r   r   r   r   r   r   Útest_single_interfaceJ   s
    z.InterfaceCheckerTestCase.test_single_interfacec             C   s>   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}| jtt||dƒ dS )z0 single interface with invalid method signature c               @   s   e Zd Zdd„ ZdS )zZInterfaceCheckerTestCase.test_single_interface_with_invalid_method_signature.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   r   `   s    z^InterfaceCheckerTestCase.test_single_interface_with_invalid_method_signature.<locals>.IFoo.fooN)r   r   r   r   r   r   r   r   r   _   s   r   c               @   s   e Zd Zdd„ ZdS )zYInterfaceCheckerTestCase.test_single_interface_with_invalid_method_signature.<locals>.Fooc             S   s   d S )Nr   )r   r   r   r   r   r   g   s    z]InterfaceCheckerTestCase.test_single_interface_with_invalid_method_signature.<locals>.Foo.fooN)r   r   r   r   r   r   r   r   r   d   s   r   r   N)r   r	   r   ÚassertRaisesr   r   )r   r   r   r   r   r   Ú3test_single_interface_with_invalid_method_signature\   s
    zLInterfaceCheckerTestCase.test_single_interface_with_invalid_method_signaturec             C   s>   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}| jtt||dƒ dS )z% single interface with missing trait c               @   s   e Zd ZeZdS )zOInterfaceCheckerTestCase.test_single_interface_with_missing_trait.<locals>.IFooN)r   r   r   r   r   r   r   r   r   r   q   s   r   c               @   s   e Zd ZdS )zNInterfaceCheckerTestCase.test_single_interface_with_missing_trait.<locals>.FooN)r   r   r   r   r   r   r   r   u   s   r   r   N)r   r	   r   r   r   r   )r   r   r   r   r   r   Ú(test_single_interface_with_missing_traitn   s
    zAInterfaceCheckerTestCase.test_single_interface_with_missing_traitc             C   s>   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}| jtt||dƒ dS )z& single interface with missing method c               @   s   e Zd Zdd„ ZdS )zPInterfaceCheckerTestCase.test_single_interface_with_missing_method.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   Úmethod€   s    zWInterfaceCheckerTestCase.test_single_interface_with_missing_method.<locals>.IFoo.methodN)r   r   r   r!   r   r   r   r   r      s   r   c               @   s   e Zd ZdS )zOInterfaceCheckerTestCase.test_single_interface_with_missing_method.<locals>.FooN)r   r   r   r   r   r   r   r   „   s   r   r   N)r   r	   r   r   r   r   )r   r   r   r   r   r   Ú)test_single_interface_with_missing_method|   s
    zBInterfaceCheckerTestCase.test_single_interface_with_missing_methodc             C   sb   G dd„ dt ƒ}G dd„ dt ƒ}G dd„ dt ƒ}t|||ƒG dd„ dtƒƒ}t||||gd	ƒ d
S )z multiple interfaces c               @   s   e Zd ZeZdS )z?InterfaceCheckerTestCase.test_multiple_interfaces.<locals>.IFooN)r   r   r   r   r   r   r   r   r   r   �   s   r   c               @   s   e Zd ZeZdS )z?InterfaceCheckerTestCase.test_multiple_interfaces.<locals>.IBarN)r   r   r   r   Úyr   r   r   r   ÚIBar’   s   r$   c               @   s   e Zd ZeZdS )z?InterfaceCheckerTestCase.test_multiple_interfaces.<locals>.IBazN)r   r   r   r   Úzr   r   r   r   ÚIBaz•   s   r&   c               @   s   e Zd ZeZeZeZdS )z>InterfaceCheckerTestCase.test_multiple_interfaces.<locals>.FooN)r   r   r   r   r   r#   r%   r   r   r   r   r   ™   s   r   r   N)r   r	   r   r   )r   r   r$   r&   r   r   r   r   Útest_multiple_interfacesŒ   s    z1InterfaceCheckerTestCase.test_multiple_interfacesc             C   sh   G dd„ dt ƒ}G dd„ dt ƒ}G dd„ dt ƒ}t|||ƒG dd„ dtƒƒ}| jtt||||gd	ƒ d
S )z3 multiple interfaces with invalid method signature c               @   s   e Zd Zdd„ ZdS )z]InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   r   ©   s    zaInterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.IFoo.fooN)r   r   r   r   r   r   r   r   r   ¨   s   r   c               @   s   e Zd Zdd„ ZdS )z]InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.IBarc             S   s   d S )Nr   )r   r   r   r   Úbar­   s    zaInterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.IBar.barN)r   r   r   r(   r   r   r   r   r$   ¬   s   r$   c               @   s   e Zd Zdd„ ZdS )z]InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.IBazc             S   s   d S )Nr   )r   r   r   r   Úbaz±   s    zaInterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.IBaz.bazN)r   r   r   r)   r   r   r   r   r&   °   s   r&   c               @   s$   e Zd Zdd„ Zdd„ Zdd„ ZdS )z\InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.Fooc             S   s   d S )Nr   )r   r   r   r   r   ·   s    z`InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.Foo.fooc             S   s   d S )Nr   )r   r   r   r   r(   º   s    z`InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.Foo.barc             S   s   d S )Nr   )r   r   r   r   r   r)   ¾   s    z`InterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signature.<locals>.Foo.bazN)r   r   r   r   r(   r)   r   r   r   r   r   µ   s   r   r   N)r   r	   r   r   r   r   )r   r   r$   r&   r   r   r   r   Ú6test_multiple_interfaces_with_invalid_method_signature¥   s    zOInterfaceCheckerTestCase.test_multiple_interfaces_with_invalid_method_signaturec             C   sh   G dd„ dt ƒ}G dd„ dt ƒ}G dd„ dt ƒ}t|||ƒG dd„ dtƒƒ}| jtt||||gd	ƒ d
S )z( multiple interfaces with missing trait c               @   s   e Zd ZeZdS )zRInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_trait.<locals>.IFooN)r   r   r   r   r   r   r   r   r   r   Ê   s   r   c               @   s   e Zd ZeZdS )zRInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_trait.<locals>.IBarN)r   r   r   r   r#   r   r   r   r   r$   Í   s   r$   c               @   s   e Zd ZeZdS )zRInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_trait.<locals>.IBazN)r   r   r   r   r%   r   r   r   r   r&   Ð   s   r&   c               @   s   e Zd ZeZeZdS )zQInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_trait.<locals>.FooN)r   r   r   r   r   r#   r   r   r   r   r   Ô   s   r   r   N)r   r	   r   r   r   r   )r   r   r$   r&   r   r   r   r   Ú+test_multiple_interfaces_with_missing_traitÇ   s    zDInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_traitc             C   sh   G dd„ dt ƒ}G dd„ dt ƒ}G dd„ dt ƒ}t|||ƒG dd„ dtƒƒ}| jtt||||gd	ƒ d
S )z) multiple interfaces with missing method c               @   s   e Zd Zdd„ ZdS )zSInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   r   ä   s    zWInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.IFoo.fooN)r   r   r   r   r   r   r   r   r   ã   s   r   c               @   s   e Zd Zdd„ ZdS )zSInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.IBarc             S   s   d S )Nr   )r   r   r   r   r(   è   s    zWInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.IBar.barN)r   r   r   r(   r   r   r   r   r$   ç   s   r$   c               @   s   e Zd Zdd„ ZdS )zSInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.IBazc             S   s   d S )Nr   )r   r   r   r   r)   ì   s    zWInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.IBaz.bazN)r   r   r   r)   r   r   r   r   r&   ë   s   r&   c               @   s   e Zd Zdd„ Zdd„ ZdS )zRInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.Fooc             S   s   d S )Nr   )r   r   r   r   r   ò   s    zVInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.Foo.fooc             S   s   d S )Nr   )r   r   r   r   r(   õ   s    zVInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_method.<locals>.Foo.barN)r   r   r   r   r(   r   r   r   r   r   ð   s   r   r   N)r   r	   r   r   r   r   )r   r   r$   r&   r   r   r   r   Ú,test_multiple_interfaces_with_missing_methodà   s    zEInterfaceCheckerTestCase.test_multiple_interfaces_with_missing_methodc             C   sX   G dd„ dt ƒ}G dd„ d|ƒ}G dd„ d|ƒ}t|ƒG dd„ dtƒƒ}t||d	ƒ d
S )z inherited interfaces c               @   s   e Zd ZeZdS )z@InterfaceCheckerTestCase.test_inherited_interfaces.<locals>.IFooN)r   r   r   r   r   r   r   r   r   r     s   r   c               @   s   e Zd ZeZdS )z@InterfaceCheckerTestCase.test_inherited_interfaces.<locals>.IBarN)r   r   r   r   r#   r   r   r   r   r$     s   r$   c               @   s   e Zd ZeZdS )z@InterfaceCheckerTestCase.test_inherited_interfaces.<locals>.IBazN)r   r   r   r   r%   r   r   r   r   r&     s   r&   c               @   s   e Zd ZeZeZeZdS )z?InterfaceCheckerTestCase.test_inherited_interfaces.<locals>.FooN)r   r   r   r   r   r#   r%   r   r   r   r   r     s   r   r   N)r   r	   r   r   )r   r   r$   r&   r   r   r   r   Útest_inherited_interfacesþ   s    z2InterfaceCheckerTestCase.test_inherited_interfacesc             C   s^   G dd„ dt ƒ}G dd„ d|ƒ}G dd„ d|ƒ}t|ƒG dd„ dtƒƒ}| jtt||d	ƒ d
S )z) inherited with invalid method signature c               @   s   e Zd Zdd„ ZdS )z^InterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   r     s    zbInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.IFoo.fooN)r   r   r   r   r   r   r   r   r     s   r   c               @   s   e Zd Zdd„ ZdS )z^InterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.IBarc             S   s   d S )Nr   )r   r   r   r   r(     s    zbInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.IBar.barN)r   r   r   r(   r   r   r   r   r$     s   r$   c               @   s   e Zd Zdd„ ZdS )z^InterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.IBazc             S   s   d S )Nr   )r   r   r   r   r)   #  s    zbInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.IBaz.bazN)r   r   r   r)   r   r   r   r   r&   "  s   r&   c               @   s$   e Zd Zdd„ Zdd„ Zdd„ ZdS )z]InterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.Fooc             S   s   d S )Nr   )r   r   r   r   r   )  s    zaInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.Foo.fooc             S   s   d S )Nr   )r   r   r   r   r(   ,  s    zaInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.Foo.barc             S   s   d S )Nr   )r   r   r   r   r   r)   0  s    zaInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signature.<locals>.Foo.bazN)r   r   r   r   r(   r)   r   r   r   r   r   '  s   r   r   N)r   r	   r   r   r   r   )r   r   r$   r&   r   r   r   r   Ú7test_inherited_interfaces_with_invalid_method_signature  s    zPInterfaceCheckerTestCase.test_inherited_interfaces_with_invalid_method_signaturec             C   s^   G dd„ dt ƒ}G dd„ d|ƒ}G dd„ d|ƒ}t|ƒG dd„ dtƒƒ}| jtt||d	ƒ d
S )z) inherited interfaces with missing trait c               @   s   e Zd ZeZdS )zSInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_trait.<locals>.IFooN)r   r   r   r   r   r   r   r   r   r   :  s   r   c               @   s   e Zd ZeZdS )zSInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_trait.<locals>.IBarN)r   r   r   r   r#   r   r   r   r   r$   =  s   r$   c               @   s   e Zd ZeZdS )zSInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_trait.<locals>.IBazN)r   r   r   r   r%   r   r   r   r   r&   @  s   r&   c               @   s   e Zd ZeZeZdS )zRInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_trait.<locals>.FooN)r   r   r   r   r   r#   r   r   r   r   r   D  s   r   r   N)r   r	   r   r   r   r   )r   r   r$   r&   r   r   r   r   Ú,test_inherited_interfaces_with_missing_trait7  s    zEInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_traitc             C   s^   G dd„ dt ƒ}G dd„ d|ƒ}G dd„ d|ƒ}t|ƒG dd„ dtƒƒ}| jtt||d	ƒ d
S )z* inherited interfaces with missing method c               @   s   e Zd Zdd„ ZdS )zTInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.IFooc             S   s   d S )Nr   )r   r   r   r   r   R  s    zXInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.IFoo.fooN)r   r   r   r   r   r   r   r   r   Q  s   r   c               @   s   e Zd Zdd„ ZdS )zTInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.IBarc             S   s   d S )Nr   )r   r   r   r   r(   V  s    zXInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.IBar.barN)r   r   r   r(   r   r   r   r   r$   U  s   r$   c               @   s   e Zd Zdd„ ZdS )zTInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.IBazc             S   s   d S )Nr   )r   r   r   r   r)   Z  s    zXInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.IBaz.bazN)r   r   r   r)   r   r   r   r   r&   Y  s   r&   c               @   s   e Zd Zdd„ Zdd„ ZdS )zSInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.Fooc             S   s   d S )Nr   )r   r   r   r   r   `  s    zWInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.Foo.fooc             S   s   d S )Nr   )r   r   r   r   r(   c  s    zWInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_method.<locals>.Foo.barN)r   r   r   r   r(   r   r   r   r   r   ^  s   r   r   N)r   r	   r   r   r   r   )r   r   r$   r&   r   r   r   r   Ú-test_inherited_interfaces_with_missing_methodN  s    zFInterfaceCheckerTestCase.test_inherited_interfaces_with_missing_methodc             C   sN   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}G dd„ d|ƒ}| jtt||dƒ dS )	z- Subclasses with incorrect method signatures c               @   s   e Zd Zdd„ ZdS )zSInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methods.<locals>.IFooc             S   s   d S )Nr   )r   Úargumentr   r   r   r   n  s    zWInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methods.<locals>.IFoo.fooN)r   r   r   r   r   r   r   r   r   m  s   r   c               @   s   e Zd Zdd„ ZdS )zRInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methods.<locals>.Fooc             S   s   d S )Nr   )r   r1   r   r   r   r   s  s    zVInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methods.<locals>.Foo.fooN)r   r   r   r   r   r   r   r   r   q  s   r   c               @   s   e Zd Zdd„ ZdS )zRInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methods.<locals>.Barc             S   s   d S )Nr   )r   r   r   r   r   w  s    zVInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methods.<locals>.Bar.fooN)r   r   r   r   r   r   r   r   ÚBarv  s   r2   r   N)r   r	   r   r   r   r   )r   r   r   r2   r   r   r   Ú,test_subclasses_with_wrong_signature_methodsj  s
    zEInterfaceCheckerTestCase.test_subclasses_with_wrong_signature_methodsc                sL   G dd„ dt ƒ‰ tˆ ƒG dd„ dtƒƒ}G ‡ fdd„dtƒ}||ƒ d�}dS )	z
 instance c               @   s   e Zd ZdS )z4InterfaceCheckerTestCase.test_instance.<locals>.IFooN)r   r   r   r   r   r   r   r   �  s   r   c               @   s   e Zd ZdS )z3InterfaceCheckerTestCase.test_instance.<locals>.FooN)r   r   r   r   r   r   r   r   „  s   r   c                   s   e Zd Ze” ƒZdS )z3InterfaceCheckerTestCase.test_instance.<locals>.BarN)r   r   r   r   r   r   )r   r   r   r2   ˆ  s   r2   )r   N)r   r	   r   )r   r   r2   Úbr   )r   r   Útest_instance~  s    z&InterfaceCheckerTestCase.test_instancec             C   sB   G dd„ dt ƒ}t|ƒG dd„ dtƒƒ}|ƒ }| j|||ƒƒ dS )z
 callable c               @   s   e Zd ZdS )z4InterfaceCheckerTestCase.test_callable.<locals>.IFooN)r   r   r   r   r   r   r   r   ’  s   r   c               @   s   e Zd ZdS )z3InterfaceCheckerTestCase.test_callable.<locals>.FooN)r   r   r   r   r   r   r   r   •  s   r   N)r   r	   r   ÚassertEqual)r   r   r   Úfr   r   r   Útest_callable�  s    z&InterfaceCheckerTestCase.test_callablec             C   sr   G dd„ dt ƒ}G dd„ dtƒ}t|ƒG dd„ dtƒƒ}t|||ƒ |ƒ }||ƒ}| jd|ƒ | j|t|ƒƒ dS )z adaptation c               @   s   e Zd ZdS )z6InterfaceCheckerTestCase.test_adaptation.<locals>.IFooN)r   r   r   r   r   r   r   r   ¡  s   r   c               @   s   e Zd ZdS )z5InterfaceCheckerTestCase.test_adaptation.<locals>.FooN)r   r   r   r   r   r   r   r   ¤  s   r   c               @   s   e Zd ZdS )zBInterfaceCheckerTestCase.test_adaptation.<locals>.FooToIFooAdapterN)r   r   r   r   r   r   r   ÚFooToIFooAdapter§  s   r9   N)r   r   r	   r   r
   ZassertNotEqualr6   Útype)r   r   r   r9   r7   Zi_foor   r   r   Útest_adaptationž  s    z(InterfaceCheckerTestCase.test_adaptationN)r   r   r   Ú__doc__r   r   r   r   r    r"   r'   r*   r+   r,   r-   r.   r/   r0   r3   r5   r8   r;   r   r   r   r   r   &   s&   
" r   )r<   Ú
__future__r   ZunittestZtraits.adaptation.apir   Z
traits.apir   r   r   r   r   r	   r
   Ztraits.interface_checkerr   r   Ztraitsr   ZCHECK_INTERFACESZTestCaser   r   r   r   r   Ú<module>	   s   $