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

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

src/h/5/h5py-2.3.0/h5py/tests/test_group.py   h5py(Download)
        grp = self.f['ext']
        self.ef = grp.file
        self.assertNotEqual(self.ef, self.f)
        self.assertEqual(grp.name, '/external')
 
        self.assertArrayEqual(self.f1[baz_bar], np.array([4,5,6]))
        # The reference points to a copy of bar, not to bar itself.
        self.assertNotEqual(self.f1[baz_bar].name, bar.name)
 
        self.f1.copy('foo', self.f2, 'baz', expand_refs=True)

src/h/5/h5py-HEAD/h5py/tests/test_group.py   h5py(Download)
        grp = self.f['ext']
        self.ef = grp.file
        self.assertNotEqual(self.ef, self.f)
        self.assertEqual(grp.name, '/external')
 
        self.assertArrayEqual(self.f1[baz_bar], np.array([4,5,6]))
        # The reference points to a copy of bar, not to bar itself.
        self.assertNotEqual(self.f1[baz_bar].name, bar.name)
 
        self.f1.copy('foo', self.f2, 'baz', expand_refs=True)

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_data.py   learnpython.in.ua(Download)
 
        self.assertIn('title', page.meta)
        self.assertNotEqual(page.body, '')
        self.assertNotEqual(page.html, '')