Skip to content

Commit a5a8351

Browse files
committed
fix: Corrected bug where .replace() was treated as an in-place method
Signed-off-by: Varsha GS <[email protected]>
1 parent edfbf74 commit a5a8351

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/instana/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def key_to_bool(k: str) -> bool:
8383
import inspect
8484

8585
all_accepted_patch_all_args = inspect.getfullargspec(monkey.patch_all)[0]
86-
provided_options.replace(" ", "").replace("--", "").split(",")
86+
provided_options = provided_options.replace(" ", "").replace("--", "").split(",")
8787

8888
provided_options = [
8989
k for k in provided_options if short_key(k) in all_accepted_patch_all_args

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
if not os.environ.get("GEVENT_STARLETTE_TEST"):
5454
collect_ignore_glob.extend(
5555
[
56-
"*test_gevent*",
56+
"*test_gevent.py",
5757
"*test_starlette*",
5858
]
5959
)

0 commit comments

Comments
 (0)