]> 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 10:00:38 +0000 (12:00 +0200)
commit38ad0faf9762554c330fcc9212fe06953fde6456
tree6f8e6a4c090ca144187f1ddb949da3d60a0640bf
parenta7e6edc7d70fbe5d82faeda0bc6ae37550c2080f
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