Skip to content

Commit

Permalink
Merge pull request #240 from lamby/master
Browse files Browse the repository at this point in the history
sitetree/runtests: Don't mask exit code from the surrounding shell.
  • Loading branch information
idlesign committed Oct 1, 2017
2 parents 1f37350 + 623b35b commit dbdc4a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sitetree/runtests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#! /usr/bin/env python

import sys

if __name__ == '__main__':
from pytest import main as pytest_main
pytest_main()
sys.exit(pytest_main())

0 comments on commit dbdc4a2

Please sign in to comment.