Skip to content

Commit

Permalink
[varStore.optimize] Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed May 25, 2023
1 parent 832f2f7 commit 6fa38e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Lib/fontTools/varLib/varStore.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,6 @@ def width_sort_key(self):
def __len__(self):
return len(self.items)

def can_encode(self, chars):
return not (chars & ~self.chars)

def __sub__(self, other):
return bit_count(self.chars & ~other.chars)

Check warning on line 401 in Lib/fontTools/varLib/varStore.py

View check run for this annotation

Codecov / codecov/patch

Lib/fontTools/varLib/varStore.py#L401

Added line #L401 was not covered by tests

Expand Down

0 comments on commit 6fa38e2

Please sign in to comment.