Squash deprecation warning related to array.array(..).tostring()
authorEnji Cooper <ngie@FreeBSD.org>
Tue, 21 May 2019 02:13:46 +0000 (02:13 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Tue, 21 May 2019 02:13:46 +0000 (02:13 +0000)
commit8c02634818982a172dc0b084b72afc1e4b1ca7ea
tree289572f58ff7f913384042423d2eabcbc74fd19d
parentb2775610c07e4f573a843384fdad19fcb11a3929
Squash deprecation warning related to array.array(..).tostring()

In version 3.2+, `array.array(..).tostring()` was renamed to
`array.array(..).tobytes()`. Conditionally call `array.array(..).tobytes()` if
the python version is 3.2+.

PR: 237403
MFC after: 1 week
tests/sys/opencrypto/cryptodev.py