Skip to content

Commit

Permalink
CI: normalize path in test_makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Sep 8, 2024
1 parent bcd6d1e commit b13d792
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_tools/test_makefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ def list_test_dirs(self):
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]
Expand Down

0 comments on commit b13d792

Please sign in to comment.