Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/tests/test_variable.py   CellProfiler(Download)
    def test_00_00_init(self):
        x=cps.Setting("text","value")
        x.test_valid(None)
        self.assertEqual(x.text,"text")
        self.assertEqual(x.value,"value")