From 7457f8ac52f03555273ec9bfee13e3bb5f5d55af Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 12 Nov 2024 19:29:13 -0700 Subject: [PATCH] [specializer_test] Speed up test No need to test 2000 ops. Just 600, anything higher than the max stack depth (514) is as good... --- Tests/cffLib/specializer_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/cffLib/specializer_test.py b/Tests/cffLib/specializer_test.py index 0ee51fd1e..e945709ca 100644 --- a/Tests/cffLib/specializer_test.py +++ b/Tests/cffLib/specializer_test.py @@ -586,7 +586,7 @@ class CFFSpecializeProgramTest: # maxstack CFF2=513, specializer uses up to 512 def test_maxstack_blends(self): numRegions = 15 - numOps = 2000 + numOps = 600 getNumRegions = lambda iv: numRegions blend_one = " ".join([str(i) for i in range(1 + numRegions)] + ["1", "blend"]) operands = " ".join([blend_one] * 6)