Skip to content

Commit e62efdf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 98d35b4 commit e62efdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_thread_type.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
from __future__ import annotations
22

3+
import threading
34
from typing import TYPE_CHECKING
45

56
import requests
6-
import threading
77
from werkzeug import Response
88

99
if TYPE_CHECKING:
1010
from werkzeug import Request
11+
1112
from pytest_httpserver import HTTPServer
1213

14+
1315
def test_server_thread_is_daemon(httpserver: HTTPServer):
1416
def handler(_request: Request):
1517
return Response(f"{threading.current_thread().daemon}")

0 commit comments

Comments
 (0)