diff --git a/tests/python/bl_pyapi_grease_pencil.py b/tests/python/bl_pyapi_grease_pencil.py index aa877bca243..93a78bab6d4 100644 --- a/tests/python/bl_pyapi_grease_pencil.py +++ b/tests/python/bl_pyapi_grease_pencil.py @@ -93,7 +93,7 @@ class TestGreasePencilDrawing(unittest.TestCase): def test_grease_pencil_drawing_remove_all_strokes(self): self.drawing.remove_strokes() - self.assertIsNone(self.drawing.strokes) + self.assertEqual(len(self.drawing.strokes), 0) def test_grease_pencil_drawing_remove_strokes(self): self.drawing.remove_strokes(indices=[0, 2])