diff --git a/pandas/tests/frame/methods/__init__.py b/pandas/tests/frame/methods/__init__.py new file mode 100644 index 0000000000000..245594bfdc9e7 --- /dev/null +++ b/pandas/tests/frame/methods/__init__.py @@ -0,0 +1,7 @@ +""" +Test files dedicated to individual (stand-alone) DataFrame methods + +Ideally these files/tests should correspond 1-to-1 with tests.series.methods + +These may also present opportunities for sharing/de-duplicating test code. +""" diff --git a/pandas/tests/frame/test_asof.py b/pandas/tests/frame/methods/test_asof.py similarity index 100% rename from pandas/tests/frame/test_asof.py rename to pandas/tests/frame/methods/test_asof.py diff --git a/pandas/tests/frame/test_explode.py b/pandas/tests/frame/methods/test_explode.py similarity index 100% rename from pandas/tests/frame/test_explode.py rename to pandas/tests/frame/methods/test_explode.py diff --git a/pandas/tests/frame/test_quantile.py b/pandas/tests/frame/methods/test_quantile.py similarity index 100% rename from pandas/tests/frame/test_quantile.py rename to pandas/tests/frame/methods/test_quantile.py diff --git a/pandas/tests/frame/test_rank.py b/pandas/tests/frame/methods/test_rank.py similarity index 100% rename from pandas/tests/frame/test_rank.py rename to pandas/tests/frame/methods/test_rank.py diff --git a/pandas/tests/frame/test_replace.py b/pandas/tests/frame/methods/test_replace.py similarity index 100% rename from pandas/tests/frame/test_replace.py rename to pandas/tests/frame/methods/test_replace.py diff --git a/pandas/tests/series/methods/__init__.py b/pandas/tests/series/methods/__init__.py new file mode 100644 index 0000000000000..bcb0d30f405e2 --- /dev/null +++ b/pandas/tests/series/methods/__init__.py @@ -0,0 +1,7 @@ +""" +Test files dedicated to individual (stand-alone) Series methods + +Ideally these files/tests should correspond 1-to-1 with tests.frame.methods + +These may also present opportunities for sharing/de-duplicating test code. +""" diff --git a/pandas/tests/series/test_asof.py b/pandas/tests/series/methods/test_asof.py similarity index 100% rename from pandas/tests/series/test_asof.py rename to pandas/tests/series/methods/test_asof.py diff --git a/pandas/tests/series/test_explode.py b/pandas/tests/series/methods/test_explode.py similarity index 100% rename from pandas/tests/series/test_explode.py rename to pandas/tests/series/methods/test_explode.py diff --git a/pandas/tests/series/test_quantile.py b/pandas/tests/series/methods/test_quantile.py similarity index 100% rename from pandas/tests/series/test_quantile.py rename to pandas/tests/series/methods/test_quantile.py diff --git a/pandas/tests/series/test_rank.py b/pandas/tests/series/methods/test_rank.py similarity index 100% rename from pandas/tests/series/test_rank.py rename to pandas/tests/series/methods/test_rank.py diff --git a/pandas/tests/series/test_replace.py b/pandas/tests/series/methods/test_replace.py similarity index 100% rename from pandas/tests/series/test_replace.py rename to pandas/tests/series/methods/test_replace.py