Unverified Commit 5a17ab3f authored by Nikhil Komawar's avatar Nikhil Komawar Committed by Ruben Bridgewater
Browse files

tools: rename unused variale in more pythonic way

The 'Main' function in tools/test.py file was using a variable named
``all_outcomes`` to store a value not being used. It is a best practice
to name unused variables, often return values of functions/methods (as
in this case) as ``_`` [1]. This just helps keep the code a bit cleaner
and avoid any silly mistakes.

PR-URL: https://github.com/nodejs/node/pull/16171
Refs: [1] https://stackoverflow.com/a/5477153


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarClaudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent e021de34
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment