minor: typos in comments [skip ci]

This commit is contained in:
Cosimo Lupo 2019-06-14 16:05:56 +01:00
parent 720b266e89
commit a45af5d8db
No known key found for this signature in database
GPG Key ID: 20D4A261E4A0E642
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {}

View File

@ -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`