From 6bea7d91e0c279aa493acd8f98f4638f51510b43 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Sun, 7 Jan 2018 17:01:15 +0000 Subject: [PATCH] BUG: Avoid using realpath to make list_future_warnings.sh compatible with Mac --- scripts/list_future_warnings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/list_future_warnings.sh b/scripts/list_future_warnings.sh index e100f305267c1..0c4046bbb5f49 100755 --- a/scripts/list_future_warnings.sh +++ b/scripts/list_future_warnings.sh @@ -28,7 +28,7 @@ EXCLUDE+="^pandas/util/_depr_module.py$|" # generic deprecate module that raise EXCLUDE+="^pandas/util/testing.py$|" # contains function to evaluate if warning is raised EXCLUDE+="^pandas/io/parsers.py$" # implements generic deprecation system in io reading -BASE_DIR="$(dirname $(dirname $(realpath $0)))" +BASE_DIR="$(dirname $0)/.." cd $BASE_DIR FILES=`grep -RIl "FutureWarning" pandas/* | grep -vE "$EXCLUDE"` OUTPUT=()