forked from LBRYCommunity/lbry-sdk
Making tests work on OS X
This commit is contained in:
parent
e7beb6b1a7
commit
a54a11dca0
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class SOCKSProxy(object):
|
|||
return sock
|
||||
except Exception as e:
|
||||
# Don't close - see https://github.com/kyuupichan/aiorpcX/issues/8
|
||||
if sys.platform.startswith('linux'):
|
||||
if sys.platform.startswith('linux') or sys.platform == "darwin":
|
||||
sock.close()
|
||||
return e
|
||||
|
||||
|
|
Loading…
Reference in a new issue