From: Mike Bayer Date: Mon, 30 Mar 2020 19:04:53 +0000 (-0400) Subject: Fix sqlite memory req X-Git-Tag: rel_1_3_16~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4227ef3d10aec4e03bd872a31476dc6ad6e9db0d;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 (cherry picked from commit 379e878c5854f8d0b4e65338571ba03986901ba8) --- diff --git a/test/requirements.py b/test/requirements.py index 7ab2b305fc..ea6eee6fb8 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -884,7 +884,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"):