DSPy: The framework for programming—not prompting—language models
Python
fix invalid reference in test_expected_failure (#8297)
TomuHirata802037691c1d
diff --git a/tests/signatures/test_custom_types.py b/tests/signatures/test_custom_types.pyindex 3a4315039..b2d0dfbaa 100644--- a/tests/signatures/test_custom_types.py+++ b/tests/signatures/test_custom_types.py@@ -94,8 +94,7 @@ def test_recommended_patterns():def test_expected_failure():# InnerType DNE when not OuterContainer.InnerTypes, so this type shouldnt be resolvedwith pytest.raises(ValueError):- sig4 = Signature("input: str -> output: InnerType")- assert sig4.output_fields["output"].annotation == InnerType+ Signature("input: str -> output: InnerType")def test_module_type_resolution():class TestModule(dspy.Module):