[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/2] iotests: Remove Python 2 compatibility code
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v2 2/2] iotests: Remove Python 2 compatibility code |
Date: |
Thu, 19 Sep 2019 13:38:56 -0300 |
On Thu, Sep 19, 2019 at 06:29:05PM +0200, Kevin Wolf wrote:
> Some scripts check the Python version number and have two code paths to
> accomodate both Python 2 and 3. Remove the code specific to Python 2 and
> assert the minimum version of 3.6 instead (check skips Python tests in
> this case, so the assertion would only ever trigger if a Python script
> is executed manually).
>
> Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
--
Eduardo