Source: skyfield
Version: 1.48+ds-1
Severity: normal

Dear Maintainer,

Upstream has fully switched to newer unittest.mock in skyfield/charting.py;
I will send a PR for further cleanup.

unittest.mock is part of the standard Python library.

Greetings


tchet@quieter:/tmp/skyfield$ grep mock -r -C 2
.github/workflows/ci.yml:        python -m pip install mock pandas
--
debian/control:               python3-mock <!nocheck>,
--
requirements.txt-html5lib==1.0.1
requirements.txt-lxml==4.9.1
requirements.txt:mock==2.0.0
requirements.txt-numpy==1.15.4
requirements.txt-matplotlib==3.3.0
--
skyfield/charting.py:from unittest.mock import patch
--
skyfield/tests/test_io.py-try:
skyfield/tests/test_io.py:    from unittest.mock import patch
skyfield/tests/test_io.py-except ImportError:
skyfield/tests/test_io.py:    from mock import patch

Reply via email to