refactor: Remove commented-out code and improve test setup comment

This commit is contained in:
Denis Bilenko 2025-03-03 20:58:27 +01:00 committed by Denis Bilenko (aider)
parent 5689d6f7c2
commit ea5690eb67
1 changed files with 1 additions and 4 deletions

View File

@ -167,17 +167,14 @@ func TestParseWheelFilename(t *testing.T) {
}
}
// TestPatchWheel tests PatchWheel with several Python versions.
func TestPatchWheel(t *testing.T) {
pythonVersions := []string{"python3.9", "python3.10", "python3.11", "python3.12"}
for _, py := range pythonVersions {
t.Run(py, func(t *testing.T) {
tempDir := t.TempDir()
// tempDir, err := os.MkdirTemp("", "pythontestdir")
// t.Logf("tempDir=%s", tempDir)
// Write minimal Python project files.
projFiles := minimalPythonProject()
// AI TODO: modify writeProjectFiles to accept t as first parameter and fail test on errors in internally
if err := writeProjectFiles(tempDir, projFiles); err != nil {
t.Fatal(err)
}