From c9b35cb61017f114cde219c5857b622e3d6d424c Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Mon, 4 Jul 2016 16:05:09 +0800 Subject: [PATCH] low:fix:remove unnecessary return from unit-test.py In function _filename of class UT, there are two returns, and the second one will never be executed. Remove one line of return in the fix. --- script/unit-test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/script/unit-test.py b/script/unit-test.py index 521dfd38..68719301 100755 --- a/script/unit-test.py +++ b/script/unit-test.py @@ -80,7 +80,6 @@ class UT(): # {{{ setup functions @classmethod def _filename(cls, desc): - return "/tmp/booth-unittest.%s" % desc return "/tmp/booth-unittest.%d.%s" % (os.getpid(), desc)