summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/fixtures.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-06-02 18:24:43 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-06-02 18:24:43 -0400
commitcf8c76b9fcfcd1e79da4b089e7a86d6300d737e1 (patch)
tree8399586c3a6c45f1d4b184e1325a7dae308476f3 /lib/sqlalchemy/testing/fixtures.py
parentf51c56b8dca0569269a69bd85c25fcfed39a3c9e (diff)
downloadsqlalchemy-cf8c76b9fcfcd1e79da4b089e7a86d6300d737e1.tar.gz
temporarily disable test_no_attach_to_event_loop
this test currently causes the test suite to hang; it previously was not actually running the worker thread as the testing_engine() fixture was rejecting the "transfer_staticpool" keyword argument. as we seem to have a greenlet-related segfault in 3.10.0b2 I am going to have to get the greenlet devs to run the test suite so i want to get anything not totally smooth out of it for the moment. Change-Id: Ib453d0bc23ca013598bc80ff29e5da496771d5b1
Diffstat (limited to 'lib/sqlalchemy/testing/fixtures.py')
-rw-r--r--lib/sqlalchemy/testing/fixtures.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/fixtures.py b/lib/sqlalchemy/testing/fixtures.py
index 581bc8bec..aeb97572f 100644
--- a/lib/sqlalchemy/testing/fixtures.py
+++ b/lib/sqlalchemy/testing/fixtures.py
@@ -102,13 +102,21 @@ class TestBase(object):
from . import engines
def gen_testing_engine(
- url=None, options=None, future=None, asyncio=False
+ url=None,
+ options=None,
+ future=None,
+ asyncio=False,
+ transfer_staticpool=False,
):
if options is None:
options = {}
options["scope"] = "fixture"
return engines.testing_engine(
- url=url, options=options, future=future, asyncio=asyncio
+ url=url,
+ options=options,
+ future=future,
+ asyncio=asyncio,
+ transfer_staticpool=transfer_staticpool,
)
yield gen_testing_engine