Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
Bin Liu committed Jul 4, 2016
commit c9b35cb61017f114cde219c5857b622e3d6d424c
1 change: 0 additions & 1 deletion script/unit-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down