Skip to content

Commit 0374006

Browse files
committed
Avoid bool-like naming
1 parent 10c3757 commit 0374006

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/etc/test-float-parse/runtests.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,8 @@ def main():
195195
global MAILBOX
196196
tests = [os.path.splitext(f)[0] for f in glob('*.rs')
197197
if not f.startswith('_')]
198-
listed = sys.argv[1:]
199-
if listed:
200-
tests = [test for test in tests if test in listed]
198+
args = sys.argv[1:]
199+
tests = [test for test in tests if test in args]
201200
if not tests:
202201
print("Error: No tests to run")
203202
sys.exit(1)

0 commit comments

Comments
 (0)