Blob Blame History Raw
From 7dc173089885ae21a784498fb6a38aaeca4a5295 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Thu, 20 Jul 2023 00:05:48 -0400
Subject: [PATCH 3/6] TST: Increase maximum for sizeof test to pass 32-bit

In that case, the result is 1244, which is ~2.6 * `sys.sizeof` (476),
slightly over the 2 used in the existing test.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 dask/tests/test_sizeof.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dask/tests/test_sizeof.py b/dask/tests/test_sizeof.py
index ef3d6ba3..dd1a0b81 100644
--- a/dask/tests/test_sizeof.py
+++ b/dask/tests/test_sizeof.py
@@ -81,7 +81,7 @@ def test_pandas_multiindex():
     index = pd.MultiIndex.from_product([range(50), list("abcdefghilmnopqrstuvwxyz")])
     actual_size = sys.getsizeof(index)
 
-    assert 0.5 * actual_size < sizeof(index) < 2 * actual_size
+    assert 0.5 * actual_size < sizeof(index) < 3 * actual_size
     assert isinstance(sizeof(index), int)
 
 
-- 
2.43.0