mirror_zfs/contrib/pyzfs/libzfs_core
Brian Behlendorf 4b1c4062d0 pyzfs: python3 support (unit tests)
* Updated unit tests to be compatbile with python 2 or 3.  In most
  cases all that was required was to add the 'b' prefix to existing
  strings to convert them to type bytes for python 3 compatibility.

* There were several places where the python version need to be
  checked to remain compatible with pythong 2 and 3.  Some one
  more seasoned with Python may be able to find a way to rewrite
  these statements in a compatible fashion.

Reviewed-by: John Ramsden <johnramsden@riseup.net>
Reviewed-by: Neal Gompa <ngompa@datto.com>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: John Wren Kennedy <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8096
2019-01-06 10:39:41 -08:00
..
bindings pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
test pyzfs: python3 support (unit tests) 2019-01-06 10:39:41 -08:00
__init__.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
_constants.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
_error_translation.py pyzfs: python3 support (library 2/2) 2019-01-06 10:39:41 -08:00
_libzfs_core.py pyzfs: python3 support (library 2/2) 2019-01-06 10:39:41 -08:00
_nvlist.py pyzfs: python3 support (library 2/2) 2019-01-06 10:39:41 -08:00
ctypes.py pyzfs: python3 support (library 2/2) 2019-01-06 10:39:41 -08:00
exceptions.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00