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

Method test_extension_array

pandas/tests/test_sorting.py:443–447  ·  view source on GitHub ↗
(self, arg, exp)

Source from the content-addressed store, hash-verified

441 "arg, exp", [[[1, 3, 2], [1, 2, 3]], [[1, 3, NA, 2], [1, 2, 3, NA]]]
442 )
443 def test_extension_array(self, arg, exp):
444 a = array(arg, dtype="Int64")
445 result = safe_sort(a)
446 expected = array(exp, dtype="Int64")
447 tm.assert_extension_array_equal(result, expected)
448
449 @pytest.mark.parametrize("verify", [True, False])
450 def test_extension_array_codes(self, verify):

Callers

nothing calls this directly

Calls 2

arrayFunction · 0.90
safe_sortFunction · 0.90

Tested by

no test coverage detected