]> 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, 11 May 2021 15:10:42 +0000 (17:10 +0200)
commit80430c15caac0c10832455f868fa01c912996982
tree5a65c78681502d67a3e21ed661ea350e67370de1
parent4772e86beb089ee08a3bff8ad359e83a4c623238
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")
tests/sys/netinet6/frag6/frag6_16.py