Skip to content

some tests fail with -O (assertions off) #92886

Description

@iritkatriel

On main (3.12 branch):

% ./python.exe -Om test -j2
[...]
10 tests failed:
test_clinic test_coroutines test_dis test_imaplib
test_multiprocessing_forkserver test_multiprocessing_spawn
test_py_compile test_sys_settrace test_wsgiref test_zipimport

This seems wrong because
(1) it indicates that some assertions should be exceptions instead.
(2) it implies that we don't have a buildbot testing with -O

  • test_clinic
  • test_coroutines
  • test_dis
  • test_imaplib
  • test_multiprocessing_forkserver
  • test_multiprocessing_spawn
  • test_py_compile
  • test_sys_settrace
  • test_wsgiref
  • test_zipimport

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    easytestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions