f8e0ecb710fdcb8bf0e657a962a4e11e4c7c7365,pandas/tests/arrays/test_datetimelike.py,TestPeriodArray,test_astype_object,#TestPeriodArray#Any#,877
Before Change
assert list(pi2) == list(arr)
def test_astype_object(self, period_index):
pi = period_index
arr = PeriodArray(pi)
asobj = arr.astype("O")
assert isinstance(asobj, np.ndarray)
assert asobj.dtype == "O"
assert list(asobj) == list(pi)
After Change
assert list(pi2) == list(arr)
def test_astype_object(self, arr1d):
pi = self.index_cls(arr1d)
arr = arr1d
asobj = arr.astype("O")
assert isinstance(asobj, np.ndarray)
assert asobj.dtype == "O"
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: pandas-dev/pandas
Commit Name: f8e0ecb710fdcb8bf0e657a962a4e11e4c7c7365
Time: 2020-10-05
Author: jbrockmendel@gmail.com
File Name: pandas/tests/arrays/test_datetimelike.py
Class Name: TestPeriodArray
Method Name: test_astype_object
Project Name: pandas-dev/pandas
Commit Name: f8e0ecb710fdcb8bf0e657a962a4e11e4c7c7365
Time: 2020-10-05
Author: jbrockmendel@gmail.com
File Name: pandas/tests/arrays/test_datetimelike.py
Class Name: TestPeriodArray
Method Name: test_int_properties
Project Name: pandas-dev/pandas
Commit Name: f8e0ecb710fdcb8bf0e657a962a4e11e4c7c7365
Time: 2020-10-05
Author: jbrockmendel@gmail.com
File Name: pandas/tests/arrays/test_datetimelike.py
Class Name: TestPeriodArray
Method Name: test_from_pi
Project Name: pandas-dev/pandas
Commit Name: f8e0ecb710fdcb8bf0e657a962a4e11e4c7c7365
Time: 2020-10-05
Author: jbrockmendel@gmail.com
File Name: pandas/tests/arrays/test_datetimelike.py
Class Name: TestPeriodArray
Method Name: test_to_timestamp
Project Name: pandas-dev/pandas
Commit Name: f8e0ecb710fdcb8bf0e657a962a4e11e4c7c7365
Time: 2020-10-05
Author: jbrockmendel@gmail.com
File Name: pandas/tests/arrays/test_datetimelike.py
Class Name: TestPeriodArray
Method Name: test_bool_properties