Opened 18 years ago
Closed 18 years ago
#6868 closed (fixed)
FilePathField tests fail on Windows
| Reported by: | Ned Batchelder | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The file paths in the expected results for FilePathField are platform-specific. On Windows, the results include backslashes.
The patch fixes this by defining an ad-hoc fixer function which is called on the results.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
the patch, without spurious blank line