mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Don't use pytest_asyncio.fixture(scope="session") any more, refs #1959
Also got rid of the weird memory=False hack: https://github.com/simonw/datasette/pull/1960#issuecomment-1354053151
This commit is contained in:
parent
95900b9d02
commit
d94d363ec0
3 changed files with 14 additions and 13 deletions
|
|
@ -281,7 +281,7 @@ class Datasette:
|
|||
raise
|
||||
self.crossdb = crossdb
|
||||
self.nolock = nolock
|
||||
if memory or crossdb or (not self.files and memory is not False):
|
||||
if memory or crossdb or not self.files:
|
||||
self.add_database(
|
||||
Database(self, is_mutable=False, is_memory=True), name="_memory"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue