comparison tests/test-hg-parseurl.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
3 from mercurial.utils import urlutil 3 from mercurial.utils import urlutil
4 4
5 5
6 class ParseRequestTests(unittest.TestCase): 6 class ParseRequestTests(unittest.TestCase):
7 def testparse(self): 7 def testparse(self):
8
8 self.assertEqual( 9 self.assertEqual(
9 urlutil.parseurl(b'http://example.com/no/anchor'), 10 urlutil.parseurl(b'http://example.com/no/anchor'),
10 (b'http://example.com/no/anchor', (None, [])), 11 (b'http://example.com/no/anchor', (None, [])),
11 ) 12 )
12 self.assertEqual( 13 self.assertEqual(