Sindbad~EG File Manager
�
'Μg� � � � d dl Z d dlZd dlZd dlZd dl� G d� dej � Z G d� dej � Ze dk( r ej � yy)� N)�*c �( � e Zd ZdZd� Zd� Zd� Zd� Zy)�EmptyNodeListTestCasez"Tests for the EmptyNodeList class.c �T � t � }| j |j d� � | j |j d� � | j t � 5 |d d d d � | j t � 5 |d d d d � y # 1 sw Y �-xY w# 1 sw Y y xY w)Nr ���)�
EmptyNodeList�assertIsNone�item�assertRaises�
IndexError��self� node_lists �9/usr/local/lib/python3.12/test/test_xml_dom_minicompat.py�test_emptynodelist_itemz-EmptyNodeListTestCase.test_emptynodelist_item s~ � �!�O� ����)�.�.��+�,����)�.�.��,�-�
�
�
�z�
*��a�L� +�
�
�
�z�
*��b�M� +�
*� +�
*��
*�
*�s � B�B�B�B'c �� � t � }| j |j d� | j t j
j � 5 d|_ d d d � y # 1 sw Y y xY w)Nr �o )r �assertEqual�lengthr �xml�dom�NoModificationAllowedErrr
s r �test_emptynodelist_lengthz/EmptyNodeListTestCase.test_emptynodelist_length sL � �!�O� �����)�)�1�-�
�
�
�s�w�w�?�?�
@�"�I�� A�
@�
@�s �A!�!A*c �b � t � t � z }| j |t � � y )N)r �NodeListr r
s r �test_emptynodelist___add__z0EmptyNodeListTestCase.test_emptynodelist___add__"