[edk2-devel] [PATCH 3/3] BaseTools: Drop check for distutils.utils

Cole crobinso at redhat.com
Fri Jul 23 20:02:28 UTC 2021


distutils.utils is no longer used anywhere, so this check can
be dropped.

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 BaseTools/Tests/RunTests.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/BaseTools/Tests/RunTests.py b/BaseTools/Tests/RunTests.py
index 81af736cd8..934683a446 100644
--- a/BaseTools/Tests/RunTests.py
+++ b/BaseTools/Tests/RunTests.py
@@ -13,13 +13,6 @@ import os
 import sys

 import unittest

 

-try:

-    import distutils.util

-except ModuleNotFoundError:

-    sys.exit('''

-Python reported: "No module named 'distutils.util"

-''')

-

 import TestTools

 

 def GetCTestSuite():

-- 
2.31.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#78146): https://edk2.groups.io/g/devel/message/78146
Mute This Topic: https://groups.io/mt/84409131/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list