Skip to content

Commit c4ede00

Browse files
committed
TST: fix location of formats data & templates
1 parent 8daf9a7 commit c4ede00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/whatsnew/v0.19.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Categorical Concatenation
268268

269269
.. ipython:: python
270270

271-
from pandas.types.concat import union_categoricals
271+
from pandas.api.types import union_categoricals
272272
a = pd.Categorical(["b", "c"])
273273
b = pd.Categorical(["a", "b"])
274274
union_categoricals([a, b])

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,6 @@ def pxd(name):
680680
'pandas.util.clipboard'
681681
],
682682
package_data={'pandas.tests': ['data/*.csv'],
683-
'pandas.tests.formats': ['data/*.csv'],
684683
'pandas.tests.indexes': ['data/*.pickle'],
685684
'pandas.tests.io': ['data/legacy_hdf/*.h5',
686685
'data/legacy_pickle/*/*.pickle',
@@ -703,9 +702,10 @@ def pxd(name):
703702
'data/*.html',
704703
'data/html_encoding/*.html',
705704
'json/data/*.json'],
705+
'pandas.tests.io.formats': ['data/*.csv'],
706706
'pandas.tests.tools': ['data/*.csv'],
707707
'pandas.tests.tseries': ['data/*.pickle'],
708-
'pandas.formats': ['templates/*.tpl']
708+
'pandas.io.formats': ['templates/*.tpl']
709709
},
710710
ext_modules=extensions,
711711
maintainer_email=EMAIL,

0 commit comments

Comments
 (0)