summaryrefslogtreecommitdiff
path: root/bs4/tests
AgeCommit message (Collapse)Author
2012-08-21Fixed a problem with the html5lib builder not handling comments correctly.Leonard Richardson
2012-08-20Python 3.1 also needs to skip the unicode attribute name test.Leonard Richardson
2012-08-20Raise a more specific error (FeatureNotFound) when a requestedLeonard Richardson
parser or parser feature is not installed. Raise NotImplementedError instead of ValueError when the user calls insert_before() or insert_after() on the BeautifulSoup object itself. Patch by Aaron Devore. [bug=1038301]
2012-08-20Skipped a test under Python 2.6 to avoid a spurious test failure. [bug=1038503]Leonard Richardson
2012-08-17Okay, I'll use assertEqual instead.Leonard Richardson
2012-08-17Fixed a crash on encoding when an attribute name containedLeonard Richardson
non-ASCII characters.
2012-08-16As per PEP-8, allow searching by CSS class using the 'class_'Leonard Richardson
keyword argument. [bug=1037624]
2012-07-03Mentioned cchardet in docs.Leonard Richardson
2012-07-03When sniffing encodings, if the cchardet library is installed, use it ↵Leonard Richardson
instead of chardet. It's much faster. [bug=1020748]
2012-07-03Use logging.warning() instead of warning.warn() to notify the user that ↵Leonard Richardson
characters were replaced with REPLACEMENT CHARACTER. [bug=1013862]
2012-05-24 Fixed the inability to search for non-ASCII attributeLeonard Richardson
values. [bug=1003974] This caused a major refactoring of the search code. All the tests pass, but it's possible that some searches will behave differently.
2012-05-24Fixed the basic failure in [bug=1003974], but not more advanced cases.Leonard Richardson
2012-05-24 Fixed some edge-case bugs having to do with inserting an elementLeonard Richardson
into a tag it's already inside, and replacing one of a tag's children with another. [bug=997529]
2012-05-24Fixed a bug with the lxml treebuilder that prevented the user from adding ↵Leonard Richardson
attributes to a tag that didn't originally have any. [bug=1002378] Thanks to Oliver Beattie for the patch.
2012-05-03Fixed the handling of " with the built-in parser. [bug=993871]Leonard Richardson
2012-04-27Added experimental support for fixing Windows-1252 characters embedded in ↵Leonard Richardson
UTF-8 documents.
2012-04-26Added a new method, wrap().Leonard Richardson
2012-04-26Renamed replace_with_children() to the jQuery name, unwrap().Leonard Richardson
2012-04-26Fixed a bug in decoding data that contained a byte-order mark, such as data ↵Leonard Richardson
encoded in UTF-16LE. [bug=988980]
2012-04-26Upon document generation, CData objects are no longer run through the ↵Leonard Richardson
formatter. [bug=988905]
2012-04-26Fixed test failure when lxml is not installed.Leonard Richardson
2012-04-18Made encoding substitution in <meta> tags completely transparent (no more ↵Leonard Richardson
%SOUP-ENCODING%).
2012-04-18Fixed a bug that made the HTMLParser treebuilder generate XML definitions ↵Leonard Richardson
ending with two question marks instead of one. [bug=984258]
2012-04-16Unicode, Dammit now has an option to turn MS smart quotes into ASCII characters.Leonard Richardson
2012-04-16Attribute values are now run through the provided output formatter. ↵Leonard Richardson
Previously they were always run through the 'minimal' formatter. [bug=980237]
2012-04-16 Fixed a bug with the string setter that moved a string around theLeonard Richardson
tree instead of copying it. [bug=983050]
2012-04-11Added renderContents back.Leonard Richardson
2012-03-15Fixed a bug where specifying 'text' while searching for a tag only worked if ↵Leonard Richardson
'text' specified an exact string match. [bug=955942]
2012-03-02Brought the soupselect port up to date.Leonard Richardson
2012-03-02Fixed a bug that caused calling a tag to sometimes call find_all() with the ↵Leonard Richardson
wrong arguments. [bug=944426]
2012-03-01For backwards compatibility, brought back the BeautifulStoneSoup class as a ↵Leonard Richardson
deprecated wrapper around BeautifulSoup.
2012-03-01Test that CSS selectors work within the tree as well as at the top level.Leonard Richardson
2012-03-01Got tests to pass on Python 2 and Python 3.Leonard Richardson
2012-03-01Initial port of code and tests.Leonard Richardson
2012-02-27Make prettify() return Unicode by default, so it will look nice when passed ↵Leonard Richardson
into print() under Python 3.
2012-02-26Fixed DOCTYPE handling.Leonard Richardson
2012-02-24Fixed a test failure that occured on Python 3.x when chardet was installed.Leonard Richardson
2012-02-24Warn when SoupStrainer is used with the html5lib tree builder.Leonard Richardson
2012-02-23Test that HTML5 parsers add the appropriate namespace to the tags they parse.Leonard Richardson
2012-02-23Fixed handling of the closing of namespaced tags.Leonard Richardson
2012-02-23Bumped version number.Leonard Richardson
2012-02-23Namespaced attributes are equal if they correspond to the same string.Leonard Richardson
2012-02-23Merge from trunk and added tests.Leonard Richardson
2012-02-22Minor cleanup.Leonard Richardson
2012-02-22Removed tests that merely illustrated parser behavior, behavior that ↵Leonard Richardson
wouldn't break Beautiful Soup if it changed.
2012-02-21Removed unused test data.Leonard Richardson
2012-02-20It's now possible to copy a BeautifulSoup object created with the ↵Leonard Richardson
html.parser treebuilder.
2012-02-20Temporarily skip the deepcopy test when lxml is not installed.Leonard Richardson
2012-02-20lxml tests are once again run and pass when lxml is installed.Leonard Richardson
2012-02-20Tests now pass if neither lxml nor html5lib is installed.Leonard Richardson