]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netinet6 tests: Fix Python warning
authorKristof Provost <kp@FreeBSD.org>
Tue, 11 May 2021 13:47:45 +0000 (15:47 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 18 May 2021 12:17:46 +0000 (14:17 +0200)
commitb9c3e4ada45faa8f3908a44dcbe87942affb0360
tree61aa1df2267ef792d35dfbd2dac31c42d81f4dbd
parent1a132077c2cb500410079f9120c3f676d15f7931
netinet6 tests: Fix Python warning

Python 3.8 warns about line 112:
    'SyntaxWarning: "is" with a literal. Did you mean "=="?'

Use '==' as Python suggests.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 80430c15caac0c10832455f868fa01c912996982)
tests/sys/netinet6/frag6/frag6_16.py