Blame 0003-TST-Increase-maximum-for-sizeof-test-to-pass-32-bit.patch

b566f18
From 7dc173089885ae21a784498fb6a38aaeca4a5295 Mon Sep 17 00:00:00 2001
b17de15
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
b17de15
Date: Thu, 20 Jul 2023 00:05:48 -0400
2b65f28
Subject: [PATCH 3/6] TST: Increase maximum for sizeof test to pass 32-bit
b17de15
b17de15
In that case, the result is 1244, which is ~2.6 * `sys.sizeof` (476),
b17de15
slightly over the 2 used in the existing test.
b17de15
b17de15
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
b17de15
---
b17de15
 dask/tests/test_sizeof.py | 2 +-
b17de15
 1 file changed, 1 insertion(+), 1 deletion(-)
b17de15
b17de15
diff --git a/dask/tests/test_sizeof.py b/dask/tests/test_sizeof.py
b566f18
index ef3d6ba3..dd1a0b81 100644
b17de15
--- a/dask/tests/test_sizeof.py
b17de15
+++ b/dask/tests/test_sizeof.py
b17de15
@@ -81,7 +81,7 @@ def test_pandas_multiindex():
b566f18
     index = pd.MultiIndex.from_product([range(50), list("abcdefghilmnopqrstuvwxyz")])
b17de15
     actual_size = sys.getsizeof(index)
b17de15
 
b17de15
-    assert 0.5 * actual_size < sizeof(index) < 2 * actual_size
b17de15
+    assert 0.5 * actual_size < sizeof(index) < 3 * actual_size
b17de15
     assert isinstance(sizeof(index), int)
b17de15
 
b17de15
 
b17de15
-- 
39f1a49
2.43.0
b17de15