#!/usr/bin/env python
##############################################################################
#
# pyobjcryst        Complex Modeling Initiative
#                   (c) 2016 Brookhaven Science Associates,
#                   Brookhaven National Laboratory.
#                   All rights reserved.
#
# File coded by:    Pavol Juhas
#
# See AUTHORS.txt for a list of people who contributed.
# See LICENSE.txt for license information.
#
##############################################################################

"""
Convenience module for debugging the unit tests using

python -m pyobjcryst.tests.debug

Exceptions raised by failed tests or other errors are not caught.
"""


if __name__ == '__main__':
    import sys
    from pyobjcryst.tests import testsuite
    pattern = sys.argv[1] if len(sys.argv) > 1 else ''
    suite = testsuite(pattern)
    suite.debug()
