[issue12407] test_subinterps fails on Windows

2011-06-30 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 7c60c1b41da9 by Antoine Pitrou in branch '3.2':
Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
http://hg.python.org/cpython/rev/7c60c1b41da9

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12407] test_subinterps fails on Windows

2011-06-30 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 5cae52417b9d by Antoine Pitrou in branch 'default':
Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
http://hg.python.org/cpython/rev/5cae52417b9d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12407] test_subinterps fails on Windows

2011-06-30 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Fixed, thank you.

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
versions: +Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue12407] test_subinterps fails on Windows

2011-06-28 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

I don't really understand why you need this. Under normal setups, the test is 
already properly skipped under Windows, since there's no rule to build the 
Modules/_testembed with MSVC.
Or are you talking about another kind of setup? Cygwin? mingw?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12407] test_subinterps fails on Windows

2011-06-28 Thread Cesare Di Mauro

Cesare Di Mauro cesare.di.ma...@gmail.com added the comment:

Unfortunately this test isn't skip on normal setup (using VisualStudio 2008 
Express). I've updated the clone just a few minutes ago, rebuilt Python (in 
Debug mode), and that's what happened:

D:\CPythonPCbuild\python_d.exe Lib\test\test_capi.py
test_instancemethod (__main__.CAPITest) ... ok
test_memoryview_from_NULL_pointer (__main__.CAPITest) ... ok
test_no_FatalError_infinite_loop (__main__.CAPITest) ... ok
test_pendingcalls_non_threaded (__main__.TestPendingCalls) ... ok
test_pendingcalls_threaded (__main__.TestPendingCalls) ... ok
test (__main__.Test6012) ... ok
test_subinterps (__main__.EmbeddingTest) ... ERROR

==
ERROR: test_subinterps (__main__.EmbeddingTest)
--
Traceback (most recent call last):
  File Lib\test\test_capi.py, line 155, in test_subinterps
os.chdir(basepath)
WindowsError: [Error 123] La sintassi del nome del file, della directory o del 
volume non è corretta: ''

--
Ran 7 tests in 4.587s

FAILED (errors=1)
Traceback (most recent call last):
  File Lib\test\test_capi.py, line 212, in module
test_main()
  File Lib\test\test_capi.py, line 176, in test_main
support.run_unittest(CAPITest, TestPendingCalls, Test6012, EmbeddingTest)
  File D:\CPython\lib\test\support.py, line 1280, in run_unittest
_run_suite(suite)
  File D:\CPython\lib\test\support.py, line 1263, in _run_suite
raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File Lib\test\test_capi.py, line 155, in test_subinterps
os.chdir(basepath)
WindowsError: [Error 123] La sintassi del nome del file, della directory o del 
volume non è corretta: ''

[90425 refs]

The patch ensures that this test isn't always executed on Windows, as expected.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12407] test_subinterps fails on Windows

2011-06-25 Thread Cesare Di Mauro

New submission from Cesare Di Mauro cesare.di.ma...@gmail.com:

This test fails on Windows because it tries to change the working folder to an 
empty string.
Anyway, even changing:
os.chdir(basepath)
with:
os.chdir(basepath or '.')
it fails because the subprocess tries to execute an ELF file 
('Modules/_testembed') which Windows isn't able to handle.

--
components: Tests, Windows
files: test_capi.py.patch
keywords: patch
messages: 139044
nosy: brian.curtin, cdimauro, pitrou
priority: normal
severity: normal
status: open
title: test_subinterps fails on Windows
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file22456/test_capi.py.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com