Skip to content

Commit fe1e84b

Browse files
chore(tests): formatting
1 parent 4d3e5d2 commit fe1e84b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import inspect
1212
import subprocess
1313
import tracemalloc
14+
import urllib.parse
1415
from typing import Any, Union, cast
1516
from textwrap import dedent
1617
from unittest import mock
@@ -34,7 +35,6 @@
3435
)
3536

3637
from .utils import update_env
37-
import urllib.parse
3838

3939
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
4040
api_key = "My API Key"
@@ -992,7 +992,6 @@ def add_leak(leaks: list[tracemalloc.StatisticDiff], diff: tracemalloc.Statistic
992992
frame.filename.endswith(fragment)
993993
for fragment in [
994994
# to_raw_response_wrapper leaks through the @functools.wraps() decorator.
995-
996995
# removing the decorator fixes the leak for reasons we don't understand.
997996
"onebusaway/_legacy_response.py",
998997
"onebusaway/_response.py",

0 commit comments

Comments
 (0)