Skip to content

Commit

Permalink
Undo langchain version gating
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Kim committed Jul 27, 2024
1 parent 790f5ea commit e5e5a9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/contrib/langchain/test_langchain_llmobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _embed_documents(cls, embedding_model, documents, mock_tracer, cassette_name
return mock_tracer.pop_traces()[0]


# @pytest.mark.skipif(LANGCHAIN_VERSION >= (0, 1, 0), reason="These tests are for langchain < 0.1.0")
@pytest.mark.skipif(LANGCHAIN_VERSION >= (0, 1, 0), reason="These tests are for langchain < 0.1.0")
class TestLLMObsLangchain(BaseTestLLMObsLangchain):
cassette_subdirectory_name = "langchain"

Expand Down Expand Up @@ -403,7 +403,7 @@ def test_llmobs_embedding_documents(self, langchain, mock_llmobs_span_writer, mo


@flaky(1735812000, reason="Community cassette tests are flaky")
# @pytest.mark.skipif(LANGCHAIN_VERSION < (0, 1, 0), reason="These tests are for langchain >= 0.1.0")
@pytest.mark.skipif(LANGCHAIN_VERSION < (0, 1, 0), reason="These tests are for langchain >= 0.1.0")
class TestLLMObsLangchainCommunity(BaseTestLLMObsLangchain):
cassette_subdirectory_name = "langchain_community"

Expand Down Expand Up @@ -655,7 +655,7 @@ def test_llmobs_embedding_documents(


@flaky(1735812000, reason="Community cassette tests are flaky")
# @pytest.mark.skipif(LANGCHAIN_VERSION < (0, 1, 0), reason="These tests are for langchain >= 0.1.0")
@pytest.mark.skipif(LANGCHAIN_VERSION < (0, 1, 0), reason="These tests are for langchain >= 0.1.0")
class TestLangchainTraceStructureWithLlmIntegrations(SubprocessTestCase):
bedrock_env_config = dict(
AWS_ACCESS_KEY_ID="testing",
Expand Down

0 comments on commit e5e5a9d

Please sign in to comment.