From: Mike Bayer Date: Mon, 30 Mar 2020 19:04:53 +0000 (-0400) Subject: Fix sqlite memory req X-Git-Tag: rel_1_4_0b1~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=379e878c5854f8d0b4e65338571ba03986901ba8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix sqlite memory req 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 --- diff --git a/test/requirements.py b/test/requirements.py index d9fcd698c3..669e0b7eb1 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -928,7 +928,9 @@ class DefaultRequirements(SuiteRequirements): ) 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"):