Suppress warning harder

This commit is contained in:
Joshua Oreman 2022-01-11 22:39:30 -07:00
parent ba0e8bee0e
commit c2d7ce868a
1 changed files with 2 additions and 2 deletions

View File

@ -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)