Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Series construction w/integer tuples failing on windows #13646

Closed
jreback opened this issue Jul 13, 2016 · 0 comments
Closed

BUG: Series construction w/integer tuples failing on windows #13646

jreback opened this issue Jul 13, 2016 · 0 comments
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions Windows Windows OS
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Jul 13, 2016

This just started failing on windows on master, in the last few PR's. Prob related to #13147.

tuples are not being upcast like lists.

======================================================================
FAIL: test_alignment_non_pandas (pandas.tests.frame.test_operators.TestDataFrameOperators)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\conda\Documents\pandas3.5\pandas\tests\frame\test_operators.py", line 1203, in test_alignment_non_pandas
    Series([1, 2, 3], index=df.index))
  File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1157, in assert_series_equal
    assert_attr_equal('dtype', left, right)
  File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 882, in assert_attr_equal
    left_attr, right_attr)
  File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1021, in raise_assert_detail
    raise AssertionError(msg)
AssertionError: Attributes are different

Attribute "dtype" are different
[left]:  int32
[right]: int64None
In [3]: import pandas as pd

In [4]: pd.__version__
Out[4]: '0.18.1+193.g20de266.dirty'

In [5]: pd.Series((1,2,3))
Out[5]:
0    1
1    2
2    3
dtype: int32

In [6]: pd.Series([1,2,3])
Out[6]:
0    1
1    2
2    3
dtype: int64
@jreback jreback added Bug Dtype Conversions Unexpected or buggy dtype conversions Windows Windows OS labels Jul 13, 2016
@jreback jreback added this to the 0.19.0 milestone Jul 13, 2016
jreback added a commit to jreback/pandas that referenced this issue Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions Windows Windows OS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant