minor: typos in comments [skip ci]
This commit is contained in:
parent
720b266e89
commit
a45af5d8db
@ -659,7 +659,7 @@ def instantiateSTAT(varfont, location):
|
|||||||
|
|
||||||
log.info("Instantiating STAT table")
|
log.info("Instantiating STAT table")
|
||||||
|
|
||||||
# only keep DesignAxis that were not instanced, a build a mapping from old
|
# only keep DesignAxis that were not instanced, and build a mapping from old
|
||||||
# to new axis indices
|
# to new axis indices
|
||||||
newDesignAxes = []
|
newDesignAxes = []
|
||||||
axisIndexMap = {}
|
axisIndexMap = {}
|
||||||
|
@ -6,7 +6,7 @@ import pytest
|
|||||||
def disableConfigLogger():
|
def disableConfigLogger():
|
||||||
"""Session-scoped fixture to make fontTools.configLogger function no-op.
|
"""Session-scoped fixture to make fontTools.configLogger function no-op.
|
||||||
|
|
||||||
Logging in python maintain a global state. When in the tests we call a main()
|
Logging in python maintains a global state. When in the tests we call a main()
|
||||||
function from modules subset or ttx, a call to configLogger is made that modifies
|
function from modules subset or ttx, a call to configLogger is made that modifies
|
||||||
this global state (to configures a handler for the fontTools logger).
|
this global state (to configures a handler for the fontTools logger).
|
||||||
To prevent that, we monkey-patch the `configLogger` attribute of the `fontTools`
|
To prevent that, we monkey-patch the `configLogger` attribute of the `fontTools`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user