MCPcopy
hub / github.com/pandas-dev/pandas / test_equals

Method test_equals

pandas/tests/internals/test_internals.py:808–812  ·  view source on GitHub ↗
(self, mgr_string)

Source from the content-addressed store, hash-verified

806 "mgr_string", ["a,b,c: i8-1; d,e,f: i8-2", "a,a,a: i8-1; b,b,b: i8-2"]
807 )
808 def test_equals(self, mgr_string):
809 # unique items
810 bm1 = create_mgr(mgr_string)
811 bm2 = BlockManager(bm1.blocks[::-1], bm1.axes)
812 assert bm1.equals(bm2)
813
814 @pytest.mark.parametrize(
815 "mgr_string",

Callers

nothing calls this directly

Calls 3

BlockManagerClass · 0.90
create_mgrFunction · 0.85
equalsMethod · 0.45

Tested by

no test coverage detected