net-test: be more compatible with python3, part 2

and fix a couple of very minor bugs in the first part of the conversion
- print() prints () on python2 (unlike py3 where it prints an empty line)
- similarly print(a,b) prints (a,b) on py2 (unlike py3 where it prints 'a b\n')
- there doesn't seem to be a good way to get print without trailing newline
  behaviour that works with both py2 and py3 without falling back to
  sys.stdout.write()

Bug: 158494111
Test: atest vts_kernel_net_tests
Change-Id: I6e20dff031d1ee7addc8ca5780ae79171deaa16e
3 files changed
tree: 49914ee1e41c9fe09d8b06ba14159c58584fc72b
  1. devicetree/
  2. net/
  3. Android.bp
  4. METADATA