Wrap testPasswordProtectedSite with @reap_threads

This commit is contained in:
Berker Peksag 2016-09-11 15:17:53 +03:00
parent d0630498c9
commit 2a9f5edeeb
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ class PasswordProtectedSiteTestCase(unittest.TestCase):
self.t.join() self.t.join()
self.server.server_close() self.server.server_close()
@support.reap_threads
def testPasswordProtectedSite(self): def testPasswordProtectedSite(self):
addr = self.server.server_address addr = self.server.server_address
url = 'http://' + support.HOST + ':' + str(addr[1]) url = 'http://' + support.HOST + ':' + str(addr[1])