Fix many py3.12 SyntaxWarnings as per #3561

This commit is contained in:
Griatch 2024-06-15 11:50:03 +02:00
parent 7b299f2cad
commit 381d34522b
8 changed files with 28 additions and 25 deletions

View file

@ -65,7 +65,7 @@ class S3Boto3StorageTests(S3Boto3TestCase):
"""
Test the _clean_name when the path has a trailing slash
"""
path = self.storage._clean_name("path\\to\\somewhere")
path = self.storage._clean_name(r"path\to\somewhere")
self.assertEqual(path, "path/to/somewhere")
def test_pickle_with_bucket(self):