From 6a93e3df4e7c0b56137a130127c1408cfe75ea0c Mon Sep 17 00:00:00 2001 From: David Schweizer Date: Mon, 5 Apr 2021 09:25:55 +0200 Subject: [PATCH] tests: fix python3 backported iproute2 vrf check Signed-off-by: David Schweizer --- tests/topotests/lib/topotest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]