File: ignore-dtype-while-asserting.patch

package info (click to toggle)
python-upsetplot 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,188 kB
  • sloc: python: 2,772; makefile: 153; sh: 12
file content (15 lines) | stat: -rw-r--r-- 732 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
@@ -240,7 +240,7 @@ def test_process_data_frame(x, sort_by,
         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)