Skip to content

Commit 61f6f63

Browse files
committed
TST: report the exit code on pandas.test() exit
1 parent acb9d01 commit 61f6f63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/util/_tester.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Entrypoint for testing from the top-level namespace
33
"""
44
import os
5+
import sys
56

67
PKG = os.path.dirname(os.path.dirname(__file__))
78

@@ -20,7 +21,7 @@ def test(extra_args=None):
2021
cmd = extra_args
2122
cmd += [PKG]
2223
print("running: pytest {}".format(' '.join(cmd)))
23-
pytest.main(cmd)
24+
sys.exit(pytest.main(cmd))
2425

2526

2627
__all__ = ['test']

0 commit comments

Comments
 (0)