| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python312/Lib/site-packages/bs4/tests/__pycache__/ |
Upload File : |
�
V �g � � � d Z ddlZddlmZmZmZmZmZmZ G d� d� Z G d� d� Z
G d� d � Z G d
� d� Zy)z�Tests of classes in element.py.
The really big classes -- Tag, PageElement, and NavigableString --
are tested in separate files.
� N)�HTMLAttributeDict�XMLAttributeDict�CharsetMetaAttributeValue�ContentMetaAttributeValue�NamespacedAttribute� ResultSetc �$ � e Zd Zd� Zd� Zd� Zd� Zy)�TestNamedspacedAttributec �t � t dd � }|dk( sJ �t dd� }|dk( sJ �t d� }|dk( sJ �y )N�xmlns� �r ��self�as �8C:\Python312\Lib\site-packages\bs4/tests/test_element.py� test_name_may_be_none_or_missingz9TestNamedspacedAttribute.test_name_may_be_none_or_missing sH � ����.���G�|��|����,���G�|��|���(���G�|��|� c �P � t d d� }|dk( sJ �t dd� }|dk( sJ �y )N�tagr
r r s r �%test_namespace_may_be_none_or_missingz>TestNamedspacedAttribute.test_namespace_may_be_none_or_missing s2 � ���e�,���E�z��z���E�*���E�z��zr c �* � t dd� }d|k( sJ �y )Nr �bza:br r s r �6test_attribute_is_equivalent_to_colon_separated_stringzOTestNamedspacedAttribute.test_attribute_is_equivalent_to_colon_separated_string# s � ���S�)����z��zr c � � t ddd� }t ddd� }||k( sJ �t ddd � }||k( sJ �t ddd� }||k7 sJ �t ddd� }||k7 sJ �y )Nr r �c�zr )r r r r �d�es r �;test_attributes_are_equivalent_if_prefix_and_name_identicalzTTestNamedspacedAttribute.test_attributes_are_equivalent_if_prefix_and_name_identical'