File tree 3 files changed +9
-11
lines changed 3 files changed +9
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
3
+ from warnings import catch_warnings
3
4
import numpy as np
4
5
6
+ import pandas
5
7
from pandas .core import common as com
6
8
from pandas .api import types
7
9
from pandas .util import testing as tm
@@ -82,3 +84,10 @@ def test_removed_from_core_common(self):
82
84
for t in ['is_null_datelike_scalar' ,
83
85
'ensure_float' ]:
84
86
self .assertRaises (AttributeError , lambda : getattr (com , t ))
87
+
88
+
89
+ def test_moved_infer_dtype ():
90
+
91
+ with catch_warnings (record = True ):
92
+ e = pandas .lib .infer_dtype ('foo' )
93
+ assert e is not None
Original file line number Diff line number Diff line change @@ -636,7 +636,6 @@ def pxd(name):
636
636
packages = ['pandas' ,
637
637
'pandas.api' ,
638
638
'pandas.api.types' ,
639
- 'pandas.api.lib' ,
640
639
'pandas.compat' ,
641
640
'pandas.compat.numpy' ,
642
641
'pandas.core' ,
You can’t perform that action at this time.
0 commit comments