Skip to content

Commit d9de963

Browse files
committed
Convenience script for debugging unit tests.
1 parent 2aec272 commit d9de963

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

diffpy/pdfgui/tests/debug.py

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env python
2+
##############################################################################
3+
#
4+
# diffpy.pdfgui Complex Modeling Initiative
5+
# (c) 2016 Brookhaven Science Associates,
6+
# Brookhaven National Laboratory.
7+
# All rights reserved.
8+
#
9+
# File coded by: Pavol Juhas
10+
#
11+
# See AUTHORS.txt for a list of people who contributed.
12+
# See LICENSE.txt for license information.
13+
#
14+
##############################################################################
15+
16+
17+
"""\
18+
Convenience module for debugging the unit tests using
19+
20+
python -m diffpy.pdfgui.tests.debug
21+
22+
Exceptions raised by failed tests or other errors are not caught.
23+
"""
24+
25+
26+
if __name__ == '__main__':
27+
from diffpy.pdfgui.tests import testsuite
28+
suite = testsuite()
29+
suite.debug()
30+
31+
32+
# End of file

0 commit comments

Comments
 (0)