Skip to content

Commit

Permalink
[dropbox] Re-enable tests on Python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneier committed Jul 6, 2024
1 parent 4cd12e0 commit ef95bbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ boto3 = [
"boto3>=1.4.4",
]
dropbox = [
"dropbox>=7.2.1; python_version<'3.12'",
"dropbox>=7.2.1",
]
google = [
"google-cloud-storage>=1.27",
Expand Down
8 changes: 0 additions & 8 deletions tests/test_dropbox.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import io
import sys
from datetime import datetime
from unittest import SkipTest
from unittest import mock

if sys.version_info >= (3, 12, 0):
raise SkipTest(
"dropbox library does not support Python 3.12+. "
"Skipping all tests in test_dropbox.py"
)

from django.core.exceptions import ImproperlyConfigured
from django.core.exceptions import SuspiciousFileOperation
from django.core.files.base import File
Expand Down

0 comments on commit ef95bbf

Please sign in to comment.