diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-28 19:16:02 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-28 20:10:48 +0100 |
commit | bfdf1d1c1b0e021eb8aea77d7913a24749863462 (patch) | |
tree | cc3f0c288a1b5ca6972b366f613ccd247cda48d7 | |
parent | e344527db7faae25ff1cb13ff70edc98cd811b4e (diff) | |
download | paste-bfdf1d1c1b0e021eb8aea77d7913a24749863462.tar.gz paste-bfdf1d1c1b0e021eb8aea77d7913a24749863462.tar.xz paste-bfdf1d1c1b0e021eb8aea77d7913a24749863462.zip |
remove unused imports
-rw-r--r-- | paste/store.py | 4 | ||||
-rw-r--r-- | tests/common_wsgi.py | 2 | ||||
-rw-r--r-- | tests/test_application.py | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/paste/store.py b/paste/store.py index 427345b..7351e9c 100644 --- a/paste/store.py +++ b/paste/store.py @@ -1,11 +1,7 @@ -from collections.abc import Iterator -from contextlib import contextmanager from hashlib import sha256 from secrets import token_bytes, token_urlsafe from sqlite3 import Connection, IntegrityError -from . import db - TOKEN_BYTES = 96 // 8 diff --git a/tests/common_wsgi.py b/tests/common_wsgi.py index 21e8deb..845ca17 100644 --- a/tests/common_wsgi.py +++ b/tests/common_wsgi.py @@ -1,6 +1,6 @@ from dataclasses import dataclass from types import TracebackType -from typing import Optional, Union +from typing import Union from wsgiref.util import setup_testing_defaults diff --git a/tests/test_application.py b/tests/test_application.py index c250909..52c19e6 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -4,7 +4,7 @@ import pytest from webtest import TestApp import paste.db -from paste import __main__, application +from paste import application from paste.store import Auth DB = "file::memory:?cache=shared" |