Skip to content

Video editing with Python

printing in tests

Zulkobd6fc8fde2a4
diff --git a/tests/test_TextClip.py b/tests/test_TextClip.py
index 7f87d09e..078d4c4c 100644
--- a/tests/test_TextClip.py
+++ b/tests/test_TextClip.py
@@ -113,6 +113,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)
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)