Skip to content

Commit 952b832

Browse files
committed
✨ enable python setup.py test. fix #71
1 parent 3499211 commit 952b832

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/setup.py.jj2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ def filter_out_test_code(file_handle):
326326

327327
if __name__ == '__main__':
328328
setup(
329+
{% if 'tests' is exists %}
330+
test_suite="tests",
331+
{% endif %}
329332
name=NAME,
330333
author=AUTHOR,
331334
version=VERSION,

0 commit comments

Comments
 (0)