From a45af5d8db2bf0beed3450e821e35d4606fbba4d Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Fri, 14 Jun 2019 16:05:56 +0100 Subject: [PATCH] minor: typos in comments [skip ci] --- Lib/fontTools/varLib/instancer.py | 2 +- Tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/fontTools/varLib/instancer.py b/Lib/fontTools/varLib/instancer.py index f62f99c57..570160e15 100644 --- a/Lib/fontTools/varLib/instancer.py +++ b/Lib/fontTools/varLib/instancer.py @@ -659,7 +659,7 @@ def instantiateSTAT(varfont, location): 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 newDesignAxes = [] axisIndexMap = {} diff --git a/Tests/conftest.py b/Tests/conftest.py index 11e783122..492861420 100644 --- a/Tests/conftest.py +++ b/Tests/conftest.py @@ -6,7 +6,7 @@ import pytest def disableConfigLogger(): """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 this global state (to configures a handler for the fontTools logger). To prevent that, we monkey-patch the `configLogger` attribute of the `fontTools`