Skip to content

Video editing with Python

commented out print statement

Zulkod3b8651d37ad
diff --git a/tests/test_TextClip.py b/tests/test_TextClip.py
index 961617bf..115ea70f 100644
--- a/tests/test_TextClip.py
+++ b/tests/test_TextClip.py
@@ -72,6 +72,7 @@ def test_no_text_nor_filename_arguments(method, util):
method=method,
)
+
@pytest.mark.xfail(reason="Autosizing might not work great with new Pillow versions")
def test_label_autosizing(util):
# We test with about all possible letters
@@ -113,7 +114,7 @@ def test_label_autosizing(util):
first_column, last_column = (margin_frame[:, 0], margin_frame[:, -1])
# We add a bit of tolerance (about 1%) to account for possible rounding errors
- print (first_row, last_row, first_column, last_column)
+ # print(first_row, last_row, first_column, last_column)
assert np.allclose(first_row, [0, 0, 0], rtol=0.01)
assert np.allclose(last_row, [0, 0, 0], rtol=0.01)
assert np.allclose(first_column, [0, 0, 0], rtol=0.01)