]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: fix python3 backported iproute2 vrf check 8402/head
authorDavid Schweizer <dschweizer@opensourcerouting.org>
Mon, 5 Apr 2021 07:25:55 +0000 (09:25 +0200)
committerDavid Schweizer <dschweizer@opensourcerouting.org>
Mon, 5 Apr 2021 07:25:55 +0000 (09:25 +0200)
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
tests/topotests/lib/topotest.py

index 104b21507877435c46fc603a3464a32d5bf0a36a..aaa2c70ad129321f5ac630cf2c942d4ec9f7cb41 100644 (file)
@@ -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]