787d6f3355300551cef495dfb0b44df5327d0b45,pandas/tests/indexes/test_base.py,TestIndex,test_difference_empty_arg,#TestIndex#Any#Any#,880
Before Change
assert result.name == expected
def test_difference_empty_arg(self, index, sort):
if isinstance(index, MultiIndex):
pytest.skip("Not applicable")
first = index[5:20]
first.name = "name"
result = first.difference([], sort)
After Change
first.name = "name"
result = first.difference([], sort)
tm.assert_index_equal(result, first)
@pytest.mark.parametrize("index", ["string"], indirect=True)
def test_difference_identity(self, index, sort):
first = index[5:20]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pandas-dev/pandas
Commit Name: 787d6f3355300551cef495dfb0b44df5327d0b45
Time: 2021-02-02
Author: jbrockmendel@gmail.com
File Name: pandas/tests/indexes/test_base.py
Class Name: TestIndex
Method Name: test_difference_empty_arg
Project Name: hyperspy/hyperspy
Commit Name: fb59435ae8d3603ffc71e8b4eb17b4cec496cddf
Time: 2018-07-03
Author: frandelapena@gmail.com
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_rebin
Project Name: rlworkgroup/garage
Commit Name: 055b455ba18abcb8b7488a0b03da1fd8b8ab0216
Time: 2020-08-15
Author: ericyihc@gmail.com
File Name: tests/garage/tf/envs/test_gym_base.py
Class Name: TestGymEnv
Method Name: test_all_gym_envs_pickleable