New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win32ErrorTests from test_os.py #48216
Comments
test method - call os.method Is the test correct ? |
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? |
Already fixed in 2.7, 3.1 and 3.2. |
Nice catch Roumen. Mark, can you tell which revisions the bug was fixed in? (writing “rNNN” or “rev NNN” will generate appropriate links) Thanks. |
Éric please see R69364. |
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?). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: