From 175ecbc50f3db77373123484297bac689444459c Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 26 Jun 2022 12:07:48 +0200 Subject: [PATCH] Draft: handle the absence of the Drawing module in the unit tests --- src/Mod/Draft/drafttests/test_modification.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Draft/drafttests/test_modification.py b/src/Mod/Draft/drafttests/test_modification.py index 9ede7a10ef..a1e4138ef5 100644 --- a/src/Mod/Draft/drafttests/test_modification.py +++ b/src/Mod/Draft/drafttests/test_modification.py @@ -568,6 +568,8 @@ class DraftModification(unittest.TestCase): self.assertTrue(obj, "'{}' failed".format(operation)) except TypeError: pass + except ModuleNotFoundError: + pass def test_mirror(self): """Create a rectangle, then a mirrored shape."""