1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Elena ``of Valhalla'' Grandi <valhalla@debian.org>
Date: Wed, 19 Jun 2024 10:13:52 +0200
Subject: Allow a test to run on different pytest versions.
---
test/text/test_multi_cell.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/text/test_multi_cell.py b/test/text/test_multi_cell.py
index 0ccea89..6cd71b4 100644
--- a/test/text/test_multi_cell.py
+++ b/test/text/test_multi_cell.py
@@ -293,7 +293,7 @@ def test_multi_cell_split_only(): # discussion 314
assert (
pdf.multi_cell(w=0, h=LINE_HEIGHT, text=text, split_only=True) == expected
)
- assert len(record) == 1
+ assert len(record) >= 1
assert_same_file(record[0].filename, __file__)
|