Skip to content

Commit

Permalink
blob tests shouldn't have a hard dep on gevent.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jun 29, 2023
1 parent 967ca18 commit 900ecb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/relstorage/adapters/sqlite/tests/test_sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from relstorage.tests.util import RUNNING_ON_APPVEYOR
from relstorage._compat import PYPY


class Sqlite3AdapterMixin(object):

def __get_db_name(self):
Expand Down
6 changes: 5 additions & 1 deletion src/relstorage/tests/blob/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@

from nti.testing.time import MonotonicallyIncreasingTimeLayerMixin

from gevent.exceptions import LoopExit
try:
from gevent.exceptions import LoopExit
except ModuleNotFoundError:
class LoopExit(Exception):
"Can never be thrown"

from ZODB.DB import DB
from ZODB.tests.util import setUp
Expand Down

0 comments on commit 900ecb7

Please sign in to comment.