Home
last modified time | relevance | path

Searched refs:returned_obj (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_urllib.py157 self.returned_obj = urlopen("file:%s" % self.quoted_pathname)
161 self.returned_obj.close()
168 self.assertTrue(hasattr(self.returned_obj, attr),
173 self.assertEqual(self.text, self.returned_obj.read())
176 self.assertEqual(self.text, self.returned_obj.readline())
177 self.assertEqual(b'', self.returned_obj.readline(),
182 lines_list = self.returned_obj.readlines()
189 file_num = self.returned_obj.fileno()
198 self.returned_obj.close()
201 self.assertIsInstance(self.returned_obj.headers, email.message.Message)
[all …]
/third_party/boost/libs/any/test/
Dany_test.cpp390 … class_with_address_op<int> returned_obj = boost::any_cast<class_with_address_op<int> >(test_val); in test_addressof() local
391 …check_equal(&val, returned_obj.get(), "any_cast incorrectly works with type that has operator&(): … in test_addressof()