Opened 11 years ago
Closed 10 years ago
#22389 closed Bug (duplicate)
contrib.formtools show errors while running test suite on windows
Reported by: | ANUBHAV JOSHI | Owned by: | nobody |
---|---|---|---|
Component: | contrib.formtools | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When running the test suite on windows. We get some errors:
One can see the traceback: https://gist.github.com/coder9042/9996028
Change History (3)
comment:1 by , 11 years ago
Component: | Testing framework → contrib.formtools |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
I tried to find the reason behind the error, tried to fix it but could not uptil now.
I have some observations, they may/may not be useful:
- I tried to print
type
of file being opened and object created and found onlyUploadedFile
andInMemoryUploadedFile
- The path that is shown in the traceback that could not be removed is no longer there after the suite has run.
- When I just make #files/storage.pyL260 this into docstring or in other words remove it then my tests added in the commit fa8b47 fail, which seems quite strange as temporary files do not exist before deletion as shown by failure of tests.
comment:3 by , 10 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #22772 which has been fixed.
Note:
See TracTickets
for help on using tickets.
I can reproduce these errors.