[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord added the comment: Committed revision 80771. -- assignee: michael.foord -> barry resolution: accepted -> works for me stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: +1 -- assignee: barry -> michael.foord resolution: works for me -> accepted ___ Python tracker ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord added the comment: On trunk the definition of unlink is: def unlink(filename): try: os.unlink(filename) except OSError: pass :-) Changing it as you suggest fixes the problem though. Ok to commit? -- ___ Pytho

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Maybe you just want to relax the test in the except clause of test.support.unlink()? Or change the test to if error.errno not in (errno.ENOENT, errno.ENOTDIR) ? -- ___ Python tracker

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord added the comment: Ok, so the cause of the bug is 'simple' - not sure what the best fix is. When I run python from a freshly built py3k I have the following as sys.path: ['', '/dev/null/lib/python32.zip', '/compile/python-trunk3/Lib', '/compile/python-trunk3/Lib/plat-darwin', '

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord added the comment: Any idea where this path comes from? I can go spelunking through the code myself to investigate. -- ___ Python tracker ___ _

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Michael Foord
Michael Foord added the comment: Yep, same here. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: How odd. I'm on r80727 in py3k. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Michael Foord
Michael Foord added the comment: Hmm... happens reliably for me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I cannot reproduce this on my 10.6.3 machine either running the full test suite, or running: ./python.exe Lib/test/test_imp.py ./python.exe -m unittest test.test_imp -- resolution: -> works for me ___ Python trac

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Tim Golden
Tim Golden added the comment: Sorry, typing too fast: http://bugs.python.org/issue7443 - test.support.unlink issue on Windows platform at least insofar as the issue applies to Windows. I imagine that the OS X thingis completely different. -- __

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Surely not bug 7743 "Additional potential string -> float conversion issues." -- ___ Python tracker ___ ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Tim Golden
Tim Golden added the comment: This is basically issue 7743 which is a combination of: * Using the same filename for all tests in one process * Something (TSvn / Virus Checker) having a delete-share handle * Not renaming the file before removing it in test.support.unlink MvL suggested a change

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Michael Foord
Michael Foord added the comment: I'm seeing a "similar" (but not identical) failure on py3k / Windows 7 in test_marshal. Failure in the same code path in support.py: == ERROR: test_floats (__main__.FloatTestCase) -

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread R. David Murray
Changes by R. David Murray : -- assignee: barry -> nosy: +ezio.melotti, flox ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> barry components: +Tests nosy: +barry stage: unit test needed -> needs patch ___ Python tracker ___ __

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord
Michael Foord added the comment: So I'm assuming issue 8587 (same failure in test_import.py) is a duplicate of this. I'll close 8587. -- ___ Python tracker ___ _

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord
Michael Foord added the comment: I see similar failures (failing to unlink weird paths from support.py) in: test_imp.py, test_import.py, test_pydoc.py, test_runpy.py, -- ___ Python tracker

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord
New submission from Michael Foord : I get the following failure running test_imp on py3k, Mac OS X 10.6.3. == ERROR: test_package___file__ (__main__.PEP3147Tests)