Skip to content

Commit 0ffcf9e

Browse files
datapythonistajreback
authored andcommitted
BUG: Avoid using realpath to make list_future_warnings.sh compatible on macosx
Author: Marc Garcia <[email protected]> Closes pandas-dev#19122 from datapythonista/realpath and squashes the following commits: 6bea7d9 [Marc Garcia] BUG: Avoid using realpath to make list_future_warnings.sh compatible with Mac
1 parent 1265f66 commit 0ffcf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/list_future_warnings.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ EXCLUDE+="^pandas/util/_depr_module.py$|" # generic deprecate module that raise
2828
EXCLUDE+="^pandas/util/testing.py$|" # contains function to evaluate if warning is raised
2929
EXCLUDE+="^pandas/io/parsers.py$" # implements generic deprecation system in io reading
3030

31-
BASE_DIR="$(dirname $(dirname $(realpath $0)))"
31+
BASE_DIR="$(dirname $0)/.."
3232
cd $BASE_DIR
3333
FILES=`grep -RIl "FutureWarning" pandas/* | grep -vE "$EXCLUDE"`
3434
OUTPUT=()

0 commit comments

Comments
 (0)