Lines Matching defs:error
14 import urllib.error
98 """Test an error while fetching a tool from a URL"""
101 raise urllib.error.URLError('my error')
104 self.assertIn('my error', stdout)
109 raise ValueError('exc error')
112 self.assertIn('exc error', stdout)
118 raise urllib.error.URLError('my error')
121 self.assertIn('my error', stdout)
128 raise urllib.error.URLError('not found')