Skip to content

Commit

Permalink
low:fix:remove unnecessary return from unit-test.py
Browse files Browse the repository at this point in the history
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
1 parent 9dbea52 commit c9b35cb
Showing 1 changed file with 0 additions and 1 deletion.
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

0 comments on commit c9b35cb

Please sign in to comment.