File: ignore-dtype-while-asserting.patch

package info (click to toggle)
python-upsetplot 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,012 kB
  • sloc: python: 2,172; makefile: 153; sh: 12
file content (15 lines) | stat: -rw-r--r-- 774 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: One Test seems to fail on i386 due to different datatypes in dataframes being compared
 Ignore datatype for now to make test pass
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-07-13
--- a/upsetplot/tests/test_upsetplot.py
+++ b/upsetplot/tests/test_upsetplot.py
@@ -186,7 +186,7 @@
         X, sort_by=sort_by, sort_categories_by=sort_categories_by,
         subset_size='count', sum_over=None)
     assert total5 == pytest.approx(intersections5.sum())
-    assert_series_equal(intersections4, intersections5, check_names=False)
+    assert_series_equal(intersections4, intersections5, check_names=False, check_dtype=False)
     assert intersections4.name == 'b'
     assert intersections5.name == 'size'
     assert_series_equal(totals4, totals5)