Skip to content

Commit 849bae1

Browse files
committed
Apply black
1 parent 5de1f25 commit 849bae1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/test_url.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,12 +1086,15 @@ def test_preserve_nonfragment_hash(self):
10861086
)
10871087

10881088
def test_strip_spaces(self):
1089-
self.assertEqual(canonicalize_url(' https://example.com'),
1090-
'https://example.com/')
1091-
self.assertEqual(canonicalize_url('https://example.com '),
1092-
'https://example.com/')
1093-
self.assertEqual(canonicalize_url(' https://example.com '),
1094-
'https://example.com/')
1089+
self.assertEqual(
1090+
canonicalize_url(" https://example.com"), "https://example.com/"
1091+
)
1092+
self.assertEqual(
1093+
canonicalize_url("https://example.com "), "https://example.com/"
1094+
)
1095+
self.assertEqual(
1096+
canonicalize_url(" https://example.com "), "https://example.com/"
1097+
)
10951098

10961099

10971100
class DataURITests(unittest.TestCase):

0 commit comments

Comments
 (0)