Skip to content

Commit

Permalink
Disable UNIX domain socket test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Feb 17, 2018
1 parent 302fb96 commit 9f1b684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zodbbrowser/tests/test_standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def make_socket(self):
sock.listen(0)
return sockfilename

@unittest.skipUnless(hasattr(socket, 'AF_UNIX'),
"No UNIX domain sockets on this platform")
def test_zeo_socket(self):
sockfilename = self.make_socket()
options = parse_args(['--zeo', sockfilename])
Expand Down

0 comments on commit 9f1b684

Please sign in to comment.