Skip to content

Commit

Permalink
Fix #119.
Browse files Browse the repository at this point in the history
  • Loading branch information
pyq-enlnt authored and abalkin committed Nov 15, 2019
1 parent b96377b commit c419727
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pyq/tests/test_com.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@ def test_closed_connection(kdb_server):
with pytest.raises(kerr) as info:
kdb_server(cmd)
msg = info.value.args[0]
if WIN:
assert msg.startswith('rcv.')
else:
assert msg == 'close'
assert msg.startswith('rcv.' if WIN else 'close')

0 comments on commit c419727

Please sign in to comment.