Skip to content

Commit 1fb5cc5

Browse files
committed
chore: migrate TTL to only accept int
1 parent 9bd0435 commit 1fb5cc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def test_suppress_answer(self):
196196
"testname2.local.",
197197
const._TYPE_SRV,
198198
const._CLASS_IN | const._CLASS_UNIQUE,
199-
const._DNS_HOST_TTL / 2,
199+
int(const._DNS_HOST_TTL / 2),
200200
0,
201201
0,
202202
80,

0 commit comments

Comments
 (0)