lxml/lxml — Issue #34: CSSSelector AssertionError
Author: sanxiyn
Created: 2012-03-01 19:46:02+00:00
State: open

from lxml.cssselect import CSSSelector
CSSSelector('>') # This raises SelectorSyntaxError, as it should
CSSSelector('<') # This raises AssertionError

Also, SelectorSyntaxError probably should be documented at http://lxml.de/cssselect.html