Searched refs:returned_obj (Results 1 – 2 of 2) sorted by relevance
157 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 …]
390 … class_with_address_op<int> returned_obj = boost::any_cast<class_with_address_op<int> >(test_val); in test_addressof() local391 …check_equal(&val, returned_obj.get(), "any_cast incorrectly works with type that has operator&(): … in test_addressof()