mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
#25320: Handle sockets in directories unittest discovery is scanning.
Patch from Victor van den Elzen.
This commit is contained in:
parent
87d6e1364c
commit
ecd5383891
4 changed files with 46 additions and 0 deletions
|
@ -479,6 +479,8 @@ class TestLoader(object):
|
|||
return tests, True
|
||||
finally:
|
||||
self._loading_packages.discard(name)
|
||||
else:
|
||||
return None, False
|
||||
|
||||
|
||||
defaultTestLoader = TestLoader()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue