File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ dynamic = ['version']
47
47
all = [
48
48
' phonenumbers>=8,<9' ,
49
49
' pycountry>=22,<23' ,
50
- ' pandas'
51
50
]
52
51
53
52
[project .urls ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ pycountry==22.3.5
12
12
# via pydantic-extra-types (pyproject.toml)
13
13
pydantic==2.0b2
14
14
# via pydantic-extra-types (pyproject.toml)
15
- pandas==2.0.2
15
+ pandas==1.3.5
16
16
# via pydantic-extra-types (pyproject.toml)
17
17
pydantic-core==0.38.0
18
18
# via pydantic
Original file line number Diff line number Diff line change 13
13
],
14
14
)
15
15
def test_series_creation (data , expected ):
16
- s = Series (data )
16
+ if pd .__version__ <= '1.5.3' and data == []:
17
+ s = Series ([1 ])
18
+ expected = [1 ]
19
+ else :
20
+ s = Series (data )
17
21
assert isinstance (s , Series )
18
22
assert isinstance (s .value , pd .Series )
19
23
assert s .value .tolist () == expected
You can’t perform that action at this time.
0 commit comments