%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/spread/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/spread/test/__pycache__/test_banana.cpython-312.pyc |
� Ϫ�f�7 � �� � d dl Z d dlmZ d dlmZ d dlmZmZ d dlm Z d dl mZ d dlm Z d dlmZ d d lmZ d Z G d� de� Zd � Zd� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Zy)� N)�partial)�BytesIO)�main�protocol)�StringTransport)�failure)� iterbytes)�banana)�TestCasel ���� c � � e Zd Zd� Zy)� MathTestsc �^ � t t dd� � t t dd� � z t t dd� � z dgz }|D ]c }t � }t j ||j � |j � }t j |� }| j ||� �e y )Nr �d i� iL i@B i�B l ) �list�ranger r �int2b128�write�getvalue�b1282int�assertEqual)�self� funkylist�i�x�v�ys �A/usr/lib/python3/dist-packages/twisted/spread/test/test_banana.py� test_int2b128zMathTests.test_int2b128 s� � ���q�#����5��t�$�%� &��5��'�*�+� ,� �j� � � � #�A�� �A��O�O�A�q�w�w�'�� � ��A�����"�A����Q��"� #� N)�__name__� __module__�__qualname__r � r r r r s � �#r r c �( � | j |� y)z� Dictate a Banana dialect to use. @param protocol: A L{banana.Banana} instance which has not yet had a dialect negotiated. @param dialect: A L{bytes} instance naming a Banana dialect to select. N)�_selectDialect)r �dialects r � selectDialectr'