Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Same as self.assertTrue(obj is None), with a nicer default message.

src/p/t/ptah-0.8.0/ptah/tests/test_util.py   ptah(Download)
 
        self.assertEqual(util.dthandler(dt), 'Sat, 01 Oct 2011 01:56:00 -0000')
        self.assertIsNone(util.dthandler(object()))
 
    def test_json(self):

src/p/t/ptah-HEAD/ptah/tests/test_util.py   ptah(Download)
 
        self.assertEqual(util.dthandler(dt), 'Sat, 01 Oct 2011 01:56:00 -0000')
        self.assertIsNone(util.dthandler(object()))
 
    def test_json(self):