-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REF: misplaced tests, parametrize, simplify (#55870)
* REF: misplaced tests * REF: libalgos tests * rename standard pattern * split tests * simplify reset_index tests * REF: misplaced tests * de-duplicate test * parametrize * revert
- Loading branch information
1 parent
7b32c17
commit f2794fd
Showing
18 changed files
with
372 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pandas.core.arrays import IntervalArray | ||
|
||
|
||
def test_repr(): | ||
# GH#25022 | ||
arr = IntervalArray.from_tuples([(0, 1), (1, 2)]) | ||
result = repr(arr) | ||
expected = ( | ||
"<IntervalArray>\n" | ||
"[(0, 1], (1, 2]]\n" | ||
"Length: 2, dtype: interval[int64, right]" | ||
) | ||
assert result == expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.