Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
way-dave committed Nov 4, 2023
1 parent c1b9848 commit 7eb0615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/django_s3_storage_test/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def testSaveTextMode(self):
with self.save_file(content="foo"):
self.assertEqual(default_storage.open("foo.txt").read(), b"foo")

@unittest.skipIf(sys.version_info < (3, 12))
@unittest.skipIf(sys.version_info < (3, 11), reason="Python 3.11 required")
def testOpenTextMode(self):
with self.save_file(content="foo"):
self.assertEqual(default_storage.open("foo.txt", "r").read(), "foo")
Expand Down

0 comments on commit 7eb0615

Please sign in to comment.