mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Clear up ResourceWarnings
This commit is contained in:
parent
5fd730e0fb
commit
ecd34cbbb8
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ def server(evt, serv):
|
|||
pass
|
||||
finally:
|
||||
serv.close()
|
||||
conn.close()
|
||||
evt.set()
|
||||
|
||||
class GeneralTests(TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue