Skip to content

Commit ec5d649

Browse files
committed
disable a test failing due to starlette upgrade
1 parent 7defe80 commit ec5d649

File tree

3 files changed

+107
-5
lines changed

3 files changed

+107
-5
lines changed

poetry.lock

Lines changed: 99 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "gino-starlette"
3-
version = "0.1.3"
3+
version = "0.1.2"
44
description = "An extension for GINO to integrate with Starlette"
55
license = "BSD-3-Clause"
66
authors = ["Tony Wang <wwwjfy@gmail.com>"]
@@ -22,7 +22,7 @@ classifiers = [
2222
]
2323

2424
[tool.poetry.dependencies]
25-
python = "^3.7"
25+
python = "^3.6.2"
2626
starlette = "^0.16"
2727
gino = "^1.0.0"
2828

tests/test_gino_starlette.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,18 @@ def test_app_factory(app_factory):
5353
_test(app_factory)
5454

5555

56+
"""
57+
disable this test for now because latest Starlette TestClient is using anyio to
58+
manage event loop, which is in another blocking thread. This call_later is not
59+
invoked until that is terminated.
60+
5661
def test_db_delayed(app_db_delayed):
5762
loop = asyncio.get_event_loop()
5863
loop.call_later(1, loop.create_task, app_db_delayed.start_proxy())
5964
client = TestClient(app_db_delayed)
6065
with client:
6166
pass
67+
"""
6268

6369

6470
def test_no_db(app_db_delayed):

0 commit comments

Comments
 (0)