Skip to content

Commit f1505d7

Browse files
committed
try with pyargs
1 parent f63b76c commit f1505d7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/util/_tester.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
"""
22
Entrypoint for testing from the top-level namespace
33
"""
4-
import os
5-
import sys
6-
7-
PKG = os.path.dirname(os.path.dirname(__file__))
8-
94

105
try:
116
import pytest
@@ -19,7 +14,7 @@ def test(extra_args=None):
1914
if not isinstance(extra_args, list):
2015
extra_args = [extra_args]
2116
cmd = extra_args
22-
cmd += [PKG]
17+
cmd += ['--pyargs pandas']
2318
print("running: pytest {}".format(' '.join(cmd)))
2419
sys.exit(pytest.main(cmd))
2520

0 commit comments

Comments
 (0)