Suppress warning harder
This commit is contained in:
parent
ba0e8bee0e
commit
c2d7ce868a
|
@ -90,6 +90,6 @@ async def test_errors(harness):
|
|||
from netfilterqueue import NetfilterQueue
|
||||
|
||||
nfq = NetfilterQueue()
|
||||
nfq.bind(1, lambda p: None, sock_len=1024)
|
||||
nfq.bind(1, lambda p: None, sock_len=131072)
|
||||
with pytest.raises(RuntimeError, match="A queue is already bound"):
|
||||
nfq.bind(2, lambda p: None, sock_len=1024)
|
||||
nfq.bind(2, lambda p: None, sock_len=131072)
|
||||
|
|
Loading…
Reference in New Issue