From 1be0440c55b1bc2dbd81486b710a43971988115f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Dec 2024 01:58:51 -0700 Subject: [PATCH] [Tests] Don't compare numbers with "is" --- Tests/subset/subset_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/subset/subset_test.py b/Tests/subset/subset_test.py index 01a1564ea..416b26da5 100644 --- a/Tests/subset/subset_test.py +++ b/Tests/subset/subset_test.py @@ -1780,7 +1780,7 @@ def test_subset_COLRv1_drop_all_v0_glyphs(colrv1_path): assert colr.table.BaseGlyphRecordCount == 0 assert colr.table.BaseGlyphRecordArray is None assert colr.table.LayerRecordArray is None - assert colr.table.LayerRecordCount is 0 + assert colr.table.LayerRecordCount == 0 def test_subset_COLRv1_no_ClipList(colrv1_path):