From: David Schweizer Date: Mon, 5 Apr 2021 07:25:55 +0000 (+0200) Subject: tests: fix python3 backported iproute2 vrf check X-Git-Tag: base_8.0~170^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F8402%2Fhead;p=mirror%2Ffrr.git tests: fix python3 backported iproute2 vrf check Signed-off-by: David Schweizer --- diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 104b215078..aaa2c70ad1 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -544,8 +544,7 @@ def iproute2_is_vrf_capable(): ["ip", "route", "show", "vrf"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, - stdin=subprocess.PIPE, - encoding="utf-8" + stdin=subprocess.PIPE ) iproute2_err = subp.communicate()[1].splitlines()[0].split()[0]