From 341c4fd160605e2832aa25819fd5b201d06c70b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Grie=C3=9Fhammer?= Date: Tue, 3 Dec 2024 19:50:07 +0100 Subject: [PATCH] fix flake8 complaints --- tests/ufotools_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ufotools_test.py b/tests/ufotools_test.py index 8f83a1bcd..02192004e 100644 --- a/tests/ufotools_test.py +++ b/tests/ufotools_test.py @@ -96,7 +96,7 @@ def test_cleanUpGLIFFiles_extraneous_glyph(capsys): assert changed == 1 out, err = capsys.readouterr() - assert f'Removing glif file x.glif' in out + assert 'Removing glif file x.glif' in out def test_cleanUpGLIFFiles_other_layer(capsys): @@ -163,8 +163,8 @@ def test_validateLayers_empty_folder(capsys): temp_dir = Path(get_temp_dir_path()) tmp_ufo_path = temp_dir / ufo_path.name copytree(ufo_path, tmp_ufo_path) - processed_glyphs_dir = tmp_ufo_path / 'glyphs.com.adobe.type.processedglyphs' - processed_glyphs_dir.mkdir() + processed_dir = tmp_ufo_path / 'glyphs.com.adobe.type.processedglyphs' + processed_dir.mkdir() ut.validateLayers(tmp_ufo_path) out, err = capsys.readouterr()