Description
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 0a3cb48
buildURL: Build Status, Sponge
status: failed
Test output
self = engine = 'python' data = [ datetime.time(0, 0), datetime.time(0, 14, 24, 123456), datetime.time(0, 28, 48, 246912),...(23, 16, 59, 975232), datetime.time(23, 31, 24, 98688), datetime.time(23, 45, 48, 222144)] Length: 100, dtype: dbtime@pytest.mark.parametrize("engine", ["c", "python"]) def test_EA_types(self, engine, data): df = pd.DataFrame({"with_dtype": pd.Series(data, dtype=str(data.dtype))}) csv_output = df.to_csv(index=False, na_rep=np.nan) result = pd.read_csv( StringIO(csv_output), dtype={"with_dtype": str(data.dtype)}, engine=engine ) expected = df
self.assert_frame_equal(result, expected)
.nox/compliance_prerelease/lib/python3.10/site-packages/pandas/tests/extension/base/io.py:19:
.nox/compliance_prerelease/lib/python3.10/site-packages/pandas/tests/extension/base/base.py:17: in assert_frame_equal
return tm.assert_frame_equal(left, right, *args, **kwargs)
.nox/compliance_prerelease/lib/python3.10/site-packages/pandas/_testing/asserters.py:851: in assert_extension_array_equal
_testing.assert_almost_equal(
pandas/_libs/testing.pyx:52: in pandas._libs.testing.assert_almost_equal
???
???
E AssertionError: ExtensionArray are different
E
E ExtensionArray values are different (99.0 %)
E [index]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]
E [left]: [00:00:00, 00:14:23.998901, 00:28:48.002098, 00:43:12.001000, 00:57:35.999902, 01:11:59.998804, 01:26:24.002001, 01:40:48.000903, 01:55:11.999805, 02:09:36.999434, 02:24:00.998336, 02:38:25.001533, 02:52:49.000435, 03:07:12.999337, 03:21:36.998239, 03:36:01.001436, 03:50:25.000338, 04:04:49.999967, 04:19:13.998869, 04:33:38.002066, 04:48:02.000968, 05:02:25.999870, 05:16:49.998772, 05:31:14.001969, 05:45:38.000871, 06:00:03.000500, 06:14:26.999402, 06:28:50.998304, 06:43:15.001501, 06:57:39.000403, 07:12:02.999305, 07:26:26.998207, 07:40:51.001404, 07:55:16.001033, 08:09:39.999935, 08:24:03.998837, 08:38:28.002034, 08:52:52.000936, 09:07:15.999838, 09:21:39.998740, 09:36:04.001937, 09:50:29.001566, 10:04:53.000468, 10:19:16.999370, 10:33:40.998272, 10:48:05.001469, 11:02:29.000371, 11:16:52.999273, 11:31:16.998175, 11:45:42.002099, 12:00:06.001001, 12:14:29.999903, 12:28:53.998805, 12:43:18.002002, 12:57:42.000904, 13:12:05.999806, 13:26:29.998707, 13:40:54.998337, 13:55:19.001534, 14:09:43.000436, 14:24:06.999338, 14:38:30.998240, 14:52:55.001436, 15:07:19.000338, 15:21:42.999240, 15:36:07.998870, 15:50:32.002067, 16:04:56.000969, 16:19:19.999871, 16:33:43.998772, 16:48:08.001969, 17:02:32.000871, 17:16:55.999773, 17:31:20.999403, 17:45:44.998305, 18:00:09.001501, 18:14:33.000403, 18:28:56.999305, 18:43:20.998207, 18:57:45.001404, 19:12:09.000306, 19:26:32.999208, 19:40:57.998837, 19:55:22.002034, 20:09:46.000936, 20:24:09.999838, 20:38:33.998740, 20:52:58.001937, 21:07:22.000839, 21:21:45.999741, 21:36:10.999370, 21:50:34.998272, 22:04:59.001469, 22:19:23.000371, 22:33:46.999273, 22:48:10.998175, 23:02:35.001372, 23:16:59.000274, 23:31:23.999903, 23:45:47.998805]
E [right]: [00:00:00, 00:14:24.123456, 00:28:48.246912, 00:43:12.370368, 00:57:36.493824, 01:12:00.617280, 01:26:24.740736, 01:40:48.864192, 01:55:12.987648, 02:09:37.111104, 02:24:01.234560, 02:38:25.358016, 02:52:49.481472, 03:07:13.604928, 03:21:37.728384, 03:36:01.851840, 03:50:25.975296, 04:04:50.098752, 04:19:14.222208, 04:33:38.345664, 04:48:02.469120, 05:02:26.592576, 05:16:50.716032, 05:31:14.839488, 05:45:38.962944, 06:00:03.086400, 06:14:27.209856, 06:28:51.333312, 06:43:15.456768, 06:57:39.580224, 07:12:03.703680, 07:26:27.827136, 07:40:51.950592, 07:55:16.074048, 08:09:40.197504, 08:24:04.320960, 08:38:28.444416, 08:52:52.567872, 09:07:16.691328, 09:21:40.814784, 09:36:04.938240, 09:50:29.061696, 10:04:53.185152, 10:19:17.308608, 10:33:41.432064, 10:48:05.555520, 11:02:29.678976, 11:16:53.802432, 11:31:17.925888, 11:45:42.049344, 12:00:06.172800, 12:14:30.296256, 12:28:54.419712, 12:43:18.543168, 12:57:42.666624, 13:12:06.790080, 13:26:30.913536, 13:40:55.036992, 13:55:19.160448, 14:09:43.283904, 14:24:07.407360, 14:38:31.530816, 14:52:55.654272, 15:07:19.777728, 15:21:43.901184, 15:36:08.024640, 15:50:32.148096, 16:04:56.271552, 16:19:20.395008, 16:33:44.518464, 16:48:08.641920, 17:02:32.765376, 17:16:56.888832, 17:31:21.012288, 17:45:45.135744, 18:00:09.259200, 18:14:33.382656, 18:28:57.506112, 18:43:21.629568, 18:57:45.753024, 19:12:09.876480, 19:26:33.999936, 19:40:58.123392, 19:55:22.246848, 20:09:46.370304, 20:24:10.493760, 20:38:34.617216, 20:52:58.740672, 21:07:22.864128, 21:21:46.987584, 21:36:11.111040, 21:50:35.234496, 22:04:59.357952, 22:19:23.481408, 22:33:47.604864, 22:48:11.728320, 23:02:35.851776, 23:16:59.975232, 23:31:24.098688, 23:45:48.222144]pandas/_libs/testing.pyx:167: AssertionError