HomeFreeBSD

netinet6 tests: Fix Python warning

Description

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)

Details

Provenance
kpAuthored on May 11 2021, 1:47 PM
Parents
rG1a132077c2cb: e1000: fix em_mac_min and 82547 packet buffer
Branches
Unknown
Tags
Unknown