From 6a2e1cf9138e7f6d4236922dfc490240175c3b3f Mon Sep 17 00:00:00 2001 From: Constantin Hong Date: Wed, 8 May 2024 01:20:17 +0900 Subject: [PATCH] tests/test_xpath_selector_unit/fix: Trigger test again. why it doesn't work like my repo --- changedetectionio/tests/test_xpath_selector_unit.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/changedetectionio/tests/test_xpath_selector_unit.py b/changedetectionio/tests/test_xpath_selector_unit.py index f976b67a..ebbaf23a 100644 --- a/changedetectionio/tests/test_xpath_selector_unit.py +++ b/changedetectionio/tests/test_xpath_selector_unit.py @@ -230,8 +230,6 @@ DOM_violation_two_html_root_element = """ ("//html[2]/body/p[1]", "Browsers parse this part by fixing it but lxml doesn't and returns two root element node"), ]) def test_trips(html_content, xpath, answer): - - # In normal situation, DOM's root element node is only one. So when DOM violation happens, Exception occurs. with pytest.raises(Exception): from lxml import etree, html