this is only used by test/requirements.py right now for the
profiling tests but it was not returning the correct answer
during a regenerate operation.
Change-Id: Id9747b4fe562b8bea9b21c465b626b1b19e6956b
(cherry picked from commit
379e878c5854f8d0b4e65338571ba03986901ba8)
)
def _sqlite_memory_db(self, config):
- return not self._sqlite_file_db(config)
+ return against(
+ config, "sqlite"
+ ) and not config.db.dialect._is_url_file_db(config.db.url)
def _sqlite_json(self, config):
if not against(config, "sqlite >= 3.9"):