mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Refs #23919 -- Removed usage of obsolete SafeBytes class
The class will be removed as part of #27753. Thanks Tim Graham for the review.
This commit is contained in:
parent
277a4dd4b4
commit
52138b1fd0
9 changed files with 29 additions and 69 deletions
|
|
@ -62,10 +62,6 @@ class TestRFC3987IEncodingUtils(unittest.TestCase):
|
|||
|
||||
def test_filepath_to_uri(self):
|
||||
self.assertEqual(filepath_to_uri('upload\\чубака.mp4'), 'upload/%D1%87%D1%83%D0%B1%D0%B0%D0%BA%D0%B0.mp4')
|
||||
self.assertEqual(
|
||||
filepath_to_uri('upload\\чубака.mp4'.encode('utf-8')),
|
||||
'upload/%D1%87%D1%83%D0%B1%D0%B0%D0%BA%D0%B0.mp4'
|
||||
)
|
||||
|
||||
def test_iri_to_uri(self):
|
||||
cases = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue