Skip to content

Commit 46d5521

Browse files
committed
Update tests.
1 parent 4f7c555 commit 46d5521

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/agent_features/test_llm_custom_attributes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def test_llm_custom_attributes():
2525
with WithLlmCustomAttributes({"test": "attr", "test1": "attr1"}):
2626
assert transaction._llm_context_attrs == {"llm.test": "attr", "llm.test1": "attr1"}
2727

28-
assert transaction._llm_context_attrs is None
2928

3029

3130
@pytest.mark.parametrize("context_attrs", (None, "not-a-dict"))
@@ -44,5 +43,3 @@ def test_llm_custom_attributes_prefixed_attrs():
4443
with WithLlmCustomAttributes({"llm.test": "attr", "test1": "attr1"}):
4544
# Validate API does not prefix attributes that already begin with "llm."
4645
assert transaction._llm_context_attrs == {"llm.test": "attr", "llm.test1": "attr1"}
47-
48-
assert transaction._llm_context_attrs is None

0 commit comments

Comments
 (0)