File: //usr/local/lib/python3.7/test/__pycache__/test_set.cpython-37.pyc
B
��g� � @ s� d dl Z d dlmZ d dlZd dlZd dlZd dlZd dlZd dlm Z m
Z
d dlZd dlZd dl
Zd dlZG dd� de�Zdd� ZG dd � d �ZG d
d� d�ZG dd
� d
e�ZG dd� d�ZG dd� dee j�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� dee j�ZG dd� de�Z G dd� de�Z!e� Z"G d d!� d!�Z#G d"d#� d#e#e j�Z$G d$d%� d%e#e j�Z%G d&d'� d'e#e j�Z&G d(d)� d)e#e j�Z'G d*d+� d+e#e j�Z(G d,d-� d-e#e j�Z)G d.d/� d/e#e j�Z*d0d1� Z+d2d3� Z,G d4d5� d5e j�Z-G d6d7� d7e j�Z.G d8d9� d9e j�Z/G d:d;� d;e j�Z0G d<d=� d=e j�Z1G d>d?� d?�Z2G d@dA� dAe2e j�Z3G dBdC� dCe2e j�Z4G dDdE� dEe2e j�Z5G dFdG� dGe2e j�Z6G dHdI� dIe2e j�Z7G dJdK� dK�Z8G dLdM� dMe8e j�Z9G dNdO� dOe8e j�Z:G dPdQ� dQe8e j�Z;G dRdS� dSe8e j�Z<G dTdU� dUe8e j�Z=G dVdW� dWe8e j�Z>G dXdY� dY�Z?G dZd[� d[e?e j�Z@G d\d]� d]e?e j�ZAG d^d_� d_e?e j�ZBG d`da� dae?e j�ZCG dbdc� dce?e j�ZDG ddde� dee j�ZEdfdg� ZFG dhdi� di�ZGG djdk� dk�ZHG dldm� dm�ZIG dndo� do�ZJG dpdq� dq�ZKG drds� ds�ZLG dtdu� du�ZMd dvlmNZN dwdx� ZOG dydz� dze j�ZPG d{d|� d|�ZQG d}d~� d~�ZRG dd�� d�e j�ZSd�d�� ZTd�d�� ZUd�d�� ZVd�d�� ZWG d�d�� d�e j�ZXeYd�k�r�e �Z� dS )�� N)�support)� randrange�shufflec @ s e Zd ZdS )�PassThruN)�__name__�
__module__�__qualname__� r r �)/usr/local/lib/python3.7/test/test_set.pyr s r c c s t �dV d S )N� )r r r r r
�check_pass_thru s r c @ s e Zd Zdd� Zdd� ZdS )�BadCmpc C s dS )Nr r )�selfr r r
�__hash__ s zBadCmp.__hash__c C s t �d S )N)�RuntimeError)r �otherr r r
�__eq__ s z
BadCmp.__eq__N)r r r r r r r r r
r
s r
c @ s e Zd ZdZdd� ZdS )�ReprWrapperz*Used to test self-referential repr() callsc C s
t | j�S )N)�repr�value)r r r r
�__repr__ s zReprWrapper.__repr__N)r r r �__doc__r r r r r
r s r c @ s e Zd ZdZdd� Zdd� ZdS )�HashCountingIntzBint-like object that counts the number of times __hash__ is calledc G s
d| _ d S )Nr )�
hash_count)r �argsr r r
�__init__"