diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2018-12-09 08:52:14 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-12-20 12:44:59 +0000 |
commit | a3aaa61e2f2fd81f9653cb678b38519e96e6c6cd (patch) | |
tree | 93ef227b7146d08809c0ce132d3d264dd3dd1abb /test/util.py | |
parent | 852f5ef9cf8010a94beeea8a73f308576e442e46 (diff) |
test/vpp_ip.py: Correct usage of 'is'
* Correct 'is' (identity) usage where equality is needed '=='.
* Change raise 'Exception' to log message and return NotImplemented.
(see: https://docs.python.org/3/library/constants.html#NotImplemented)
* Remove duplicate property: bytes.
* Remove duplicate method: __eq__.
Change-Id: Id3ae4f92f985eb7cef334e2679f19ecc971007c1
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/util.py')
0 files changed, 0 insertions, 0 deletions