Skip to content

Commit 2637b68

Browse files
committed
Tests: Improve bin/test, mitigating py/procedure-return-value-used
`zope.testrunner.run` already invokes `sys.exit`. No need to do it here.
1 parent 5a1388c commit 2637b68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ base = os.path.dirname(base)
1111
sys.argv[0] = os.path.abspath(sys.argv[0])
1212

1313
if __name__ == '__main__':
14-
sys.exit(zope.testrunner.run((['--auto-color', '--verbose']) + [
14+
zope.testrunner.run((['--auto-color', '--verbose']) + [
1515
'--test-path', join(base, 'src'),
16-
]))
16+
])

0 commit comments

Comments
 (0)