Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 7f2cf2f: test: drop Python 2 compatibility, use more

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 08 Nov 2018 16:36:41 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7f2cf2fccaff3cbdfc0f3a43a10667269f4ea4f6
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

7f2cf2f by Peter Wu (peter@xxxxxxxxxxxxx):

    test: drop Python 2 compatibility, use more Python 3 features
    
    Reduces maintenance costs and makes it possible to simplify code.
    pytest supports Python 2.7 and Python 3.4 (or newer), so that is more or
    less the minimum target for now.
    
    Change-Id: I0347b6c334bf2fc6c9480ff56e9ccfcd48886dde
    Reviewed-on: https://code.wireshark.org/review/30193
    Tested-by: Petri Dish Buildbot
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  50a0a78   rpm: update all rpm files for using python3.
     add  7f2cf2f   test: drop Python 2 compatibility, use more Python 3 features


Summary of changes:
 test/config.py              |  5 +---
 test/subprocesstest.py      | 59 +++++++++++++++++----------------------------
 test/suite_decryption.py    |  2 +-
 test/suite_sharkd.py        | 15 +++++-------
 test/test.py                | 16 ++++++------
 test/util_dump_dhcp_pcap.py |  6 +----
 6 files changed, 38 insertions(+), 65 deletions(-)