%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/names/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/names/test/__pycache__/test_examples.cpython-312.pyc |
� Ϫ�f� � � � d Z ddlZddlZddlmZ ddlmZ ddlmZm Z G d� d� Z G d� d e e � Z G d � de e � Z G d� d e e � Z G d� de e � Zy)z- Tests for L{twisted.names} example scripts. � N)�StringIO)�FilePath)�SkipTest�TestCasec �. � e Zd ZdZd� Zd� Zd� Zd� Zd� Zy)�ExampleTestBasea� This is a mixin which adds an example to the path, tests it, and then removes it from the path and unimports the modules which the test loaded. Test cases which test example code and documentation listings should use this. This is done this way so that examples can live in isolated path entries, next to the documentation, replete with their own plugin packages and whatever other metadata they need. Also, example code is a rare instance of it being valid to have multiple versions of the same code in the repository at once, rather than relying on version control, because documentation will often show the progression of a single piece of code as features are added to it, and we want to test each one. c �~ � t j dd | _ t j j � | _ t � | _ | j t d| j � t � | _ | j t d| j � t t j d � j d� }| j j# d� D ]<