Steve Dower <steve.do...@python.org> added the comment:
Here is a test case that fails on 3.8.0a4 and succeeds on 3.7.3: def test_find_attribute_with_empty_ns(self): NS = "http://effbot.org/ns" element = ET.fromstring(f"""<body xmlns="{NS}"><section id="1"/></body>""") self.assertIsNotNone(element.find("t:section[@id='1']", {"":NS, "t":NS})) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36831> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com