From ef95bbf45e8e3655597c7a590a49b4a7ae3491b0 Mon Sep 17 00:00:00 2001 From: Josh Schneier Date: Sat, 6 Jul 2024 15:43:49 -0400 Subject: [PATCH] [dropbox] Re-enable tests on Python3.12 --- pyproject.toml | 2 +- tests/test_dropbox.py | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3182e60a..9e29b4f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/tests/test_dropbox.py b/tests/test_dropbox.py index 7dd24c89..d7c3268a 100644 --- a/tests/test_dropbox.py +++ b/tests/test_dropbox.py @@ -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