summaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-02-04 13:28:13 +0100
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-02-07 16:53:29 +0000
commit6e6ad64a4cc97f9f777891c0349bbb129ab03013 (patch)
tree2ee392cf6e9f94b3a650d63063824af34f35213e /test/framework.py
parentdc90c719bca27856101f758939dcfb0b67124775 (diff)
tests: support python 3.8
Make test framework python3 version independence. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1ef1eb77b6c1f422ebc4dad0818f87c8e587b34b
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py
index ba4576518b9..872dd45d86b 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -446,8 +446,7 @@ class VppTestCase(unittest.TestCase):
try:
cls.vpp = subprocess.Popen(cmdline,
stdout=subprocess.PIPE,
- stderr=subprocess.PIPE,
- bufsize=1)
+ stderr=subprocess.PIPE)
except subprocess.CalledProcessError as e:
cls.logger.critical("Subprocess returned with non-0 return code: ("
"%s)", e.returncode)