File: //usr/local/CyberCP/lib64/python3.10/site-packages/bs4/tests/__pycache__/test_tree.cpython-310.pyc
o
�h� � @ s� d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z m
Z
ddlmZm
Z
mZmZmZmZmZmZmZmZmZ ddlmZ G d d
� d
e�ZG dd� de�ZG d
d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� de�Z!G dd� de!�Z"G dd� de!�Z#G dd � d e�Z$G d!d"� d"e$�Z%G d#d$� d$e$�Z&G d%d&� d&e�Z'G d'd(� d(e�Z(dS ))a8 Tests for Beautiful Soup's tree traversal methods.
The tree traversal methods are the main advantage of using Beautiful
Soup over just using a parser.
Different parsers will build different Beautiful Soup trees given the
same markup, but all Beautiful Soup trees can be traversed with the
methods tested here.
� )� set_traceN)�
BeautifulSoup)�builder_registry�HTMLParserTreeBuilder)�CData�Comment�Declaration�Doctype� Formatter�NavigableString�Script�SoupStrainer�
Stylesheet�Tag�TemplateString� )�SoupTestc @ �8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� ZdS )
�TestFindz�Basic tests of the find() method.
find() just calls find_all() with limit=1, so it's not tested all
that thouroughly here.
c C s"