()
| 16 | pass |
| 17 | |
| 18 | def main(): |
| 19 | # instantiate the parser and feed it some HTML |
| 20 | parser = MyHTMLParser() |
| 21 | |
| 22 | f = open("samplehtml.html") |
| 23 | if f.mode == "r": |
| 24 | contents = f.read() # read the entire file |
| 25 | parser.feed(contents) |
| 26 | |
| 27 | if __name__ == "__main__": |
| 28 | main() |
no test coverage detected