We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95982c9 commit 0a40580Copy full SHA for 0a40580
Lib/test/test_httpservers.py
@@ -808,6 +808,9 @@ def tearDown(self):
808
os.rmdir(self.cgi_dir_in_sub_dir)
809
os.rmdir(self.sub_dir_2)
810
os.rmdir(self.sub_dir_1)
811
+ # The 'gmon.out' file can be written in the current working
812
+ # directory if C-level code profiling with gprof is enabled.
813
+ os_helper.unlink(os.path.join(self.parent_dir, 'gmon.out'))
814
os.rmdir(self.parent_dir)
815
finally:
816
BaseTestCase.tearDown(self)
0 commit comments