Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Mar 21, 2019
1 parent d7585e1 commit c6c6a38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ cache: pip
python:
- "3.6"
- "3.7"
- "3.8-dev"

install:
- pip install -U -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def echo_form_data(request):
async def server():
config = Config(app=app, lifespan="off")
server = Server(config=config)
task = asyncio.create_task(server.serve())
task = asyncio.ensure_future(server.serve())
try:
while not server.started:
await asyncio.sleep(0.0001)
Expand Down

0 comments on commit c6c6a38

Please sign in to comment.