comparison tests/test-hg-parseurl.py @ 51690:493034cc3265

black: format the codebase with 23.3.0 The CI has moved to 23.3.0, which is the last version that supports 3.7 at runtime, so we should honor this change. # skip-blame mass-reformating only
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:36:12 +0200
parents 6000f5b25c9b
children 7f0cb9ee0534
comparison
equal deleted inserted replaced
51689:39e2b2d062c1 51690:493034cc3265
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
9 self.assertEqual( 8 self.assertEqual(
10 urlutil.parseurl(b'http://example.com/no/anchor'), 9 urlutil.parseurl(b'http://example.com/no/anchor'),
11 (b'http://example.com/no/anchor', (None, [])), 10 (b'http://example.com/no/anchor', (None, [])),
12 ) 11 )
13 self.assertEqual( 12 self.assertEqual(