def test_HTTPError_interface_call(self):
        err = urllib2.HTTPError(msg='something bad happened', url=None,
                                code=None, hdrs='Content-Length:42', fp=None)
        self.assertTrue(hasattr(err, 'reason'))
        assert hasattr(err, 'reason')
        assert hasattr(err, 'info')
        assert callable(err.info)
        try:
            err.info()
        except AttributeError:
            self.fail("err.info() failed")
        self.assertEqual(err.info(), "Content-Length:42")
Constructs a FastbootCommands instance.
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/test/test_urllib2.py/RequestTests.test_HTTPError_interface_call--crossover with--dataset/ETHPy150Open google/openhtf/openhtf/plugs/usb/fastboot_protocol.py/FastbootCommands.__init__