diff options
-rw-r--r-- | Lib/test/test_sax.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py index 3db0189..1200329 100644 --- a/Lib/test/test_sax.py +++ b/Lib/test/test_sax.py @@ -337,7 +337,7 @@ def test_expat_nsattrs_wattr(): return attrs.getLength() == 1 and \ attrs.getNames() == [(ns_uri, "attr")] and \ - attrs.getQNames() == [] and \ + (attrs.getQNames() == [] or attrs.getQNames() == ["ns:attr"]) and \ len(attrs) == 1 and \ attrs.has_key((ns_uri, "attr")) and \ attrs.keys() == [(ns_uri, "attr")] and \ |