Skip to content

Commit 51b3a71

Browse files
committed
remove invalid assert
1 parent a71dc98 commit 51b3a71

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/errors/test_deprecation_warnings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def test_add_font_uni_deprecation():
3131
HERE.parent / "fonts" / "DejaVuSans.ttf",
3232
uni=True,
3333
)
34-
assert len(record) == 1
3534
assert (
3635
str(record[0].message)
3736
== '"uni" parameter is deprecated since v2.5.1 and will be removed in a future release'
@@ -44,7 +43,6 @@ def test_output_dest_deprecation():
4443
with pytest.warns(DeprecationWarning) as record:
4544
# pylint: disable=unexpected-keyword-arg
4645
pdf.output(dest="S")
47-
assert len(record) == 1
4846
assert (
4947
str(record[0].message)
5048
== '"dest" parameter is deprecated since v2.2.0 and will be removed in a future release'

0 commit comments

Comments
 (0)