MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / _SampleInput

Class _SampleInput

tests/configs/test_base.py:36–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34class BaseInputTests(unittest.TestCase):
35 def test_extra_forbidden(self):
36 class _SampleInput(BaseInput):
37 x: int
38
39 with self.assertRaises(ValidationError):
40 _SampleInput(x=1, y=2) # type: ignore[call-arg]

Callers 1

test_extra_forbiddenMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_extra_forbiddenMethod · 0.68