Repository navigation
test_capi surprisingly skipped on Windows #118351
Copy link
Copy link
Closed
Labels
OS-windowstestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Apr 27, 2024 Recent GHA? log:
42 tests skipped: test.test_asyncio.test_unix_events test.test_gdb.test_backtrace test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full test.test_gdb.test_misc test.test_gdb.test_pretty_print test.test_multiprocessing_fork.test_manager test.test_multiprocessing_fork.test_misc test.test_multiprocessing_fork.test_processes test.test_multiprocessing_fork.test_threads test.test_multiprocessing_forkserver.test_manager test.test_multiprocessing_forkserver.test_misc test.test_multiprocessing_forkserver.test_processes test.test_multiprocessing_forkserver.test_threads test_capi test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_epoll test_external_inspection test_fcntl test_fork1 test_grp test_ioctl test_kqueue test_openpty test_perf_profiler test_perfmaps test_poll test_pty test_pwd test_readline test_resource test_syslog test_termios test_threadsignals test_tty test_wait3 test_wait4 test_xxlimited test_xxtestfuzz- changed the title
[-]test_capi is skipped on Windows[/-][+]many tests are skipped on Windows[/+]on Apr 27, 2024 - changed the title
[-]many tests are skipped on Windows[/-][+]Many tests are skipped on Windows[/+]on Apr 27, 2024 Before ea94b3b:
40 tests skipped: test.test_asyncio.test_unix_events test.test_gdb.test_backtrace test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full test.test_gdb.test_misc test.test_gdb.test_pretty_print test.test_multiprocessing_fork.test_manager test.test_multiprocessing_fork.test_misc test.test_multiprocessing_fork.test_processes test.test_multiprocessing_fork.test_threads test.test_multiprocessing_forkserver.test_manager test.test_multiprocessing_forkserver.test_misc test.test_multiprocessing_forkserver.test_processes test.test_multiprocessing_forkserver.test_threads test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1 test_grp test_ioctl test_kqueue test_openpty test_perf_profiler test_perfmaps test_poll test_pty test_pwd test_readline test_resource test_syslog test_termios test_threadsignals test_tty test_wait3 test_wait4 test_xxlimited test_xxtestfuzzMy wording in the title is wrong. (Please fix)
So, it's seems that there only one test was skipped which shouldn't have been -
test_capi. Is this so?- changed the title
[-]Many tests are skipped on Windows[/-][+]``test_capi`` suprisingly skipped on Windows[/+]on Apr 27, 2024 - changed the title
[-]``test_capi`` suprisingly skipped on Windows[/-][+]``test_capi`` surprisingly skipped on Windows[/+]on Apr 27, 2024 Windows build do not support
--disable-test-modulesfeature.
Therefore there's noTEST_MODULESconfig var:./python Running Debug|x64 interpreter... Python 3.13.0a6+ (heads/main:51aefc5bf9, Apr 27 2024, 22:25:30) [MSC v.1933 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sysconfig >>> sysconfig.get_config_var('TEST_MODULES') >>>
Reacted by neonene- added a commit that references this issue
on Apr 29, 2024 Thanks for the report @neonene !
Reacted by neonene
Metadata
Metadata
Assignees
Labels
OS-windowstestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
The test modules are in a build directory.
I can see the default behavior change since ea94b3b.
cc @erlend-aasland @zooba
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
Windows
Linked PRs
support.TEST_MODULES_ENABLEDfor Windows build #118354