MCPcopy Create free account
hub / github.com/django/code.djangoproject.com / test_selector_str_pseudoclass

Method test_selector_str_pseudoclass

noshadows.py:194–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192 self.assertEqual(selector_str(rule), "a, button")
193
194 def test_selector_str_pseudoclass(self):
195 (rule,) = parse_stylesheet("a:visited {}")
196 self.assertEqual(selector_str(rule), "a:visited")
197
198 def test_selector_str_pseudoclass_nonstandard(self):
199 (rule,) = parse_stylesheet("button::-moz-focus-inner {}")

Callers

nothing calls this directly

Calls 1

selector_strFunction · 0.85

Tested by

no test coverage detected