File: //lib/python3/dist-packages/twisted/python/test/__pycache__/test_deprecate.cpython-310.pyc
o
�b(� � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZmZ zddl m
Z
W n ey3 dZ
Y nw ddlm
Z
ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZ dd lmZ dd
l m!Z! ddl"m#Z# ddl$m%Z% dd
l&m'Z' G dd� d�Z(G dd� de'�Z)G dd� de'�Z*G dd� de%e'�Z+G dd� de'�Z,dd� Z-dd� Z.G dd� de'�Z/ee
ddd d!��G d"d#� d#��Z0G d$d%� d%�Z1ee
dd&d d�d'�d2d(d)��Z2G d*d+� d+e'�Z3G d,d-� d-e'�Z4G d.d/� d/e'�Z5G d0d1� d1e'�Z6dS )3zI
Tests for Twisted's deprecation framework, L{twisted.python.deprecate}.
� N)�normcase)�catch_warnings�simplefilter)�invalidate_caches)�Version)� deprecate)�DEPRECATION_WARNING_FORMAT�_appendToDocstring�_fullyQualifiedName�_getDeprecationDocstring�_getDeprecationWarningString�_mutuallyExclusiveArguments�_passedArgSpec�_passedSignature�
deprecated�deprecatedKeywordParameter�deprecatedProperty�getDeprecationWarningString)�FilePath)�platform)�deprecatedattributes)�TwistedModulesMixin)�SynchronousTestCasec @ � e Zd ZdZdd� Zdd� ZdS )�_MockDeprecatedAttributezq
Mock of L{twisted.python.deprecate._DeprecatedAttribute}.
@ivar value: The value of the attribute.
c C �
|| _ d S �N��value��selfr � r! �D/usr/lib/python3/dist-packages/twisted/python/test/test_deprecate.py�__init__8 �
z!_MockDeprecatedAttribute.__init__c C � | j S )z$
Get a known value.
r �r r! r! r"