diff options
-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" |