
    8'h                     >    d dl mZ d dlmZ d dlmZ  G d de      Zy)    )TestCase)PY3)ApplicationErrorc                       e Zd Zd Zd Zy)ApplicationErrorTestCasec                     t        dd      }t        r| j                  dt        |             y| j                  dt        |             y)zi
        Unicode arguments in ApplicationError will not raise an exception when
        str()'d.
        some.url   ☃z\u2603N)r   r   assertInstrselferrors     ]/var/www/html/trade_iq/venv/lib/python3.12/site-packages/autobahn/wamp/test/test_exception.pytest_unicode_strz)ApplicationErrorTestCase.test_unicode_str#   s7    
 !i8MM)SZ0MM)SZ0    c                     t        dd      }t        rt        |j                                | j	                  d|j                                y)z
        Unicode arguments in ApplicationError will not raise an exception when
        the error_message method is called.
        r	   r
   N)r   r   printerror_messager   r   s     r   test_unicode_errormessagez2ApplicationErrorTestCase.test_unicode_errormessage.   s;    
 !i8%%%'(i!4!4!67r   N)__name__
__module____qualname__r   r    r   r   r   r   !   s    	1	8r   r   N)unittestr   sixr   autobahn.wamp.exceptionr   r   r   r   r   <module>r      s   6   48x 8r   