Removes support for Python 3.8 and lower from the code base

This commit is contained in:
Trenton Holmes
2023-09-09 09:08:55 -07:00
committed by Trenton H
parent c8bfbb9315
commit 650c816a7b
34 changed files with 195 additions and 337 deletions

View File

@@ -2,8 +2,8 @@ import os
import shutil
import tempfile
import uuid
from contextlib import AbstractContextManager
from pathlib import Path
from typing import ContextManager
from unittest import mock
from django.test import TestCase
@@ -29,7 +29,7 @@ def fake_convert(input_file, output_file, **kwargs):
f2.write(line.strip())
class FakeImageFile(ContextManager):
class FakeImageFile(AbstractContextManager):
def __init__(self, fname):
self.fname = fname