From b5d2952c23d37902e79d4e49def015355efc9672 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Fri, 29 May 2020 16:50:42 +0100 Subject: [PATCH] [afmLib] Do not write doctest file to disk It writes into the current working dir on test runs. --- Lib/fontTools/afmLib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/fontTools/afmLib.py b/Lib/fontTools/afmLib.py index 7983fa09b..67f145f4f 100644 --- a/Lib/fontTools/afmLib.py +++ b/Lib/fontTools/afmLib.py @@ -35,8 +35,8 @@ Here is an example of using `afmLib` to read, modify and write an AFM file: >>> f[("A","V")] = -150 # Tighten kerning >>> f.FontName = "TestFont Squished" >>> - >>> # And the font written out again - >>> f.write("testfont-squished.afm") + >>> # And the font written out again (remove the # in front) + >>> #f.write("testfont-squished.afm") .. rubric:: Footnotes