diff options
author | Leonard Richardson <leonardr@segfault.org> | 2012-11-03 13:05:49 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2012-11-03 13:05:49 -0400 |
commit | 385d9e17437a89fa87826bf0f812151fa5f68d30 (patch) | |
tree | d75a9633ce3b9d24a14d059a9f170aafbab46c43 /bs4/testing.py | |
parent | a9ac57cdea80bc41cdf4f7e094737a024adc20a3 (diff) | |
parent | 110881bd0fa593f639aa66764b9f0fbf4f39cb72 (diff) |
Merged in changes made elsewhere.
Diffstat (limited to 'bs4/testing.py')
-rw-r--r-- | bs4/testing.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bs4/testing.py b/bs4/testing.py index 0f052eb..1a92af4 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -501,6 +501,11 @@ class XMLTreeBuilderSmokeTest(object): soup = self.soup(markup) self.assertEqual(unicode(soup.foo), markup) + def test_namespaced_attributes_xml_namespace(self): + markup = '<foo xml:lang="fr">bar</foo>' + soup = self.soup(markup) + self.assertEqual(unicode(soup.foo), markup) + class HTML5TreeBuilderSmokeTest(HTMLTreeBuilderSmokeTest): """Smoke test for a tree builder that supports HTML5.""" |