Skip to content

test_os raises a DeprecationWarning #114199

Open
@Eclips4

Description

@Eclips4

Bug report

Bug description:

Trace:

 ./python.exe -m test -R 3:3 test_os
Using random seed: 650307952
0:00:00 load avg: 1.89 Run 1 test sequentially
0:00:00 load avg: 1.89 [1/1] test_os
beginning 6 repetitions
123456
/Users/admin/Projects/cpython/Lib/os.py:861: DeprecationWarning: This process (pid=49784) is multi-threaded, use of fork() may lead to deadlocks in the child.
  pid = fork()
./Users/admin/Projects/cpython/Lib/os.py:861: DeprecationWarning: This process (pid=49784) is multi-threaded, use of fork() may lead to deadlocks in the child.
  pid = fork()
./Users/admin/Projects/cpython/Lib/os.py:861: DeprecationWarning: This process (pid=49784) is multi-threaded, use of fork() may lead to deadlocks in the child.
  pid = fork()
./Users/admin/Projects/cpython/Lib/os.py:861: DeprecationWarning: This process (pid=49784) is multi-threaded, use of fork() may lead to deadlocks in the child.
  pid = fork()
./Users/admin/Projects/cpython/Lib/os.py:861: DeprecationWarning: This process (pid=49784) is multi-threaded, use of fork() may lead to deadlocks in the child.
  pid = fork()
./Users/admin/Projects/cpython/Lib/os.py:861: DeprecationWarning: This process (pid=49784) is multi-threaded, use of fork() may lead to deadlocks in the child.
  pid = fork()
.

== Tests result: SUCCESS ==

1 test OK.

Total duration: 10.0 sec
Total tests: run=265 skipped=84
Total test files: run=1/1
Result: SUCCESS

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixestestsTests 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