python (3.11.7)
    e                         d Z ddlZddlmZ ddlZddlZddlmZ  G d de          Z	 G d dej
                  Zed	k    r ej
                     dS dS )
z[Unit tests for the PickleBuffer object.
Pickling tests themselves are in pickletester.py.
    N)PickleBuffer)
import_helperc                       e Zd ZdS )BN)__name__
__module____qualname__     J/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_picklebuffer.pyr   r      s        Dr   r   c                   V    e Zd Zd Zd Zd Zd Zd Zd Zd Z	d Z
d	 Zd
 Zd Z
d Zd
S )PickleBufferTestc                    t          |          5 }t          |          5 }|                     |j        |j                   |                     |j        |j                   |                     |j        |j                   |                     |j        |j                   |                     |j        |j                   |                     |j        |j                   |                     |j        |j                   |                     |j	        |j	                   |                     |
                                |
                                           d d d            n# 1 swxY w Y   d d d            d S # 1 swxY w Y   d S N)
memoryviewassertEqualnbytesreadonlyitemsizeshapestridesc_contiguousf_contiguousformattobytes)selfpbequivmexpecteds        r   check_memoryviewz!PickleBufferTest.check_memoryview   s   
^^ 
	BqE""