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
|
return sock
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# Don't close - see https://github.com/kyuupichan/aiorpcX/issues/8
|
# 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()
|
sock.close()
|
||||||
return e
|
return e
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue