Skip to content

test_map.py shows a warning #33

Description

@amire80

test_map.py shows a warning:

================================= test session starts =================================
platform linux -- Python 3.12.3, pytest-9.0.2, pluggy-1.6.0
rootdir: /home/amir/devel/python-mwxml
collected 4 items                                                                     

mwxml/map/tests/test_map.py ....                                                [100%]

================================== warnings summary ===================================
mwxml/map/tests/test_map.py::test_complex_error_handler
  /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=1623998) is multi-threaded, use of fork() may lead to deadlocks in the child.
    self.pid = os.fork()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================ 4 passed, 1 warning in 0.08s =============================

This probably comes from the para library. Since that library appears to have the same maintainer as mwxml, it can perhaps be fixed nicely there.

(As I was exploring this, I also noticed that the link from https://pypi.org/project/para/ to "Homepage" is broken.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions