From 9935af27f4700b2a6f4ee14059e93d5174f220de Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Sun, 8 Sep 2024 15:04:42 +0530
Subject: [PATCH 112/N] test_makefile: normalize path

so that it passes on mingw
---
 Lib/test/test_tools/test_makefile.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Lib/test/test_tools/test_makefile.py b/Lib/test/test_tools/test_makefile.py
index 4c7588d..4d54e6e 100644
--- a/Lib/test/test_tools/test_makefile.py
+++ b/Lib/test/test_tools/test_makefile.py
@@ -33,12 +33,13 @@ class TestMakefile(unittest.TestCase):
                     if '\t' not in line:
                         break
                     result.append(line.replace('\\', '').strip())
+        result = [os.path.normpath(d) for d in result if d]
         return result
 
     @unittest.skipUnless(support.TEST_MODULES_ENABLED, "requires test modules")
     def test_makefile_test_folders(self):
         test_dirs = self.list_test_dirs()
-        idle_test = 'idlelib/idle_test'
+        idle_test = os.path.join('idlelib', 'idle_test')
         self.assertIn(idle_test, test_dirs)
 
         used = set([idle_test])
