This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年09月25日 18:35 by rpetrov, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (6) | |||
|---|---|---|---|
| msg73807 - (view) | Author: Roumen Petrov (rpetrov) * | Date: 2008年09月25日 18:35 | |
test method - call os.method test_mkdir(self) - os.chdir test_access(self) - os.utime test_chmod(self) - os.utime Is the test correct ? |
|||
| msg108713 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2010年06月26日 11:59 | |
Here is the code from test_os.py for Python 2.6.5. def test_mkdir(self): self.assertRaises(WindowsError, os.chdir, test_support.TESTFN) def test_access(self): self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0) def test_chmod(self): self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0) The OP is saying shouldn't there be calls to os.mkdir, os.access and os.chmod respectively? |
|||
| msg111730 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2010年07月27日 20:54 | |
Already fixed in 2.7, 3.1 and 3.2. |
|||
| msg111731 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2010年07月27日 20:58 | |
Nice catch Roumen. Mark, can you tell which revisions the bug was fixed in? (writing "rNNN" or "rev NNN" will generate appropriate links) Thanks. |
|||
| msg111738 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2010年07月27日 22:24 | |
Éric please see R69364. |
|||
| msg111739 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2010年07月27日 22:28 | |
Thanks. I trust you that the other branches are fixed too; in future messages on other bugs reports, kindly include all revisions involved. I’ve learned that Roundup does not recognize an upper-case R (have I already said I hate implicit markup?). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:39 | admin | set | github: 48216 |
| 2010年07月27日 22:28:34 | eric.araujo | set | messages: + msg111739 |
| 2010年07月27日 22:24:25 | BreamoreBoy | set | messages: + msg111738 |
| 2010年07月27日 20:58:45 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg111731 |
| 2010年07月27日 20:54:10 | BreamoreBoy | set | status: open -> closed type: behavior messages: + msg111730 resolution: out of date stage: resolved |
| 2010年06月26日 11:59:44 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg108713 |
| 2008年09月25日 18:35:49 | rpetrov | create | |