Skip to content

Commit

Permalink
Merge branch 'master' into pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev authored Jan 6, 2021
2 parents 2a2fdb2 + 01dda12 commit 2a5404f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def local_http_server() -> HTTPServer:
# Start a new thread, because httpd.serve_forever is blocking
threading.Thread(target=httpd.serve_forever, name='Local Http Server', daemon=True).start()
yield httpd
httpd.shutdown()


@pytest.fixture(scope='session')
Expand Down Expand Up @@ -119,6 +120,7 @@ def local_https_server() -> HTTPServer:
# Start a new thread, because httpd.serve_forever is blocking
threading.Thread(target=httpd.serve_forever, name='Local Https Server', daemon=True).start()
yield httpd
httpd.shutdown()


@pytest.fixture(scope='session')
Expand Down

0 comments on commit 2a5404f

Please sign in to comment.