From 613d98133c785e4ff8fcae249e51956df7da93bf 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 115/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 f1f0cd8..596e50d 100644
--- a/Lib/test/test_tools/test_makefile.py
+++ b/Lib/test/test_tools/test_makefile.py
@@ -33,11 +33,12 @@ 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
 
     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 = [idle_test]
