FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
diffpy.morph/tests/debug.py at main · diffpy/diffpy.morph · GitHub
diffpy
diffpy.morph
Repository navigation
Code
Issues
18
(18)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
diffpy.morph
/
tests
/
debug.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (25 loc) · 907 Bytes
Breadcrumbs
diffpy.morph
/
tests
/
debug.py
Copy path
File metadata and controls
32 lines (25 loc) · 907 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
##############################################################################
#
# (c) 2024 The Trustees of Columbia University in the City of New York.
# All rights reserved.
#
# File coded by: Billinge Group members and community contributors.
#
# See GitHub contributions for a more detailed list of contributors.
# https://github.com/diffpy/diffpy.pdfmorph/graphs/contributors
#
# See LICENSE.rst for license information.
#
##############################################################################
"""Convenience module for debugging the unit tests using.
python -m diffpy.morph.tests.debug
Exceptions raised by failed tests or other errors are not caught.
"""
if
__name__
==
"__main__"
:
import
sys
from
diffpy
.
pdfmorph
.
tests
import
testsuite
pattern
=
sys
.
argv
[
1
]
if
len
(
sys
.
argv
)
>
1
else
""
suite
=
testsuite
(
pattern
)
suite
.
debug
()
# End of file
Back
|
FazBrowse Home
|
New Git URL