def get(self, url, status=200):
        conn = HTTPConnection(self.defaulthost)
        conn.request("GET", url)
        response = conn.getresponse()
        body = response.read()
        conn.close()
        self.assertEqual(response.status, status)
        try:
            body = body.decode()
        except __HOLE__:
            pass
        return body
dataset/ETHPy150Open pympler/pympler/test/gui/test_web.py/WebGuiTest.get