We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b403d5 commit 58f64c2Copy full SHA for 58f64c2
tests/test_parser.py
@@ -717,6 +717,12 @@ def checkurl(url):
717
yield checkurl, "http://pediapress.com/foo|bar"
718
yield checkurl, "http://pediapress.com/{curly_braces}"
719
720
+def test_schemeless_url():
721
+
722
+ url = '[//toolserver.org/~geohack/geohack.php?pagename=Benutzer%3AVolker.haas/Test&language=de¶ms=51.4213888889_N_9.64805555556_E_dim:100_region:DE-NI_type:waterbody&title=Namentlicher+Beginn+Weser]'
723
724
+ caption = parse(url).find(parser.NamedURL)[0].caption
725
+ assert caption == url[1:-1]
726
727
def test_source_vlist():
728
r = parse("<source lang=c>int main()</source>").find(parser.TagNode)[0]
0 commit comments