[issue3580] failures in test_os
Changes by Antoine Pitrou pit...@free.fr: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Serhiy Storchaka added the comment: Is this reproduced on modern Python versions? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Antoine Pitrou added the comment: I don't know. Anyway, it is not really a Python bug, so I suggest we close it. -- resolution: - invalid status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Changes by Antoine Pitrou pit...@free.fr: -- assignee: pitrou - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: The other failure is trivial, I've fixed it in r65780. #1709112 has been reported earlier in relation to pagefile.sys. Your patch addresses at least part of the problem there. I wonder if that issue can be closed. -- nosy: +draghuram ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Antoine Pitrou [EMAIL PROTECTED] added the comment: According to the aforementioned bug report, we should also add a test for e.winerror == 5. Chances are that other cases will arise one day or another... Since the purpose of the test is, allegedly, to Verify that an open file can be stat'ed, it may be simpler to create and open a file ourselves (test_support.TESTFN being an obvious candidate :-)), and check that it can be stat'ed. Expecting to be able to access C:\pagefile.sys sounds as right as doing the same with, say, /etc/passwd under Linux. (and, incidentally, creating the file ourselves means the test will stop being Windows-specific) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: On Mon, Aug 18, 2008 at 10:28 AM, Antoine Pitrou [EMAIL PROTECTED] wrote: Since the purpose of the test is, allegedly, to Verify that an open file can be stat'ed, it may be simpler to create and open a file ourselves (test_support.TESTFN being an obvious candidate :-)), and No. Any open file does not do. There has been a discussion on python-dev some time back about replacing the use of pagefile.sys with a temporarily created open file. But the problem that spawned this test case does not occur with just any open file. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- title: failures test_os - failures in test_os ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Maybe will first test failure be fixed by attached patch? Sorry, this is my bug in issue1709599. :-( -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file11140/fix_test_1565150.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3580] failures in test_os
Antoine Pitrou [EMAIL PROTECTED] added the comment: No, it doesn't fix it. But I've just tried manually, and GetVolumeInformation() returns NTFS for the Samba share. Apparently this is a Samba feature to work with Windows NT. :-) See http://lists.samba.org/archive/samba/2003-April/065027.html The other failure is trivial, I've fixed it in r65780. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com