Shut down the open object
(self)
| 114 | self.returned_obj = urllib.request.urlopen("file:%s" % self.quoted_pathname) |
| 115 | |
| 116 | def tearDown(self): |
| 117 | """Shut down the open object""" |
| 118 | self.returned_obj.close() |
| 119 | os.remove(os_helper.TESTFN) |
| 120 | |
| 121 | def test_interface(self): |
| 122 | # Make sure object returned by urlopen() has the specified methods |