mvo5 / unattended-upgrades

Automatic installation of security upgrades on apt based systems
GNU General Public License v2.0
278 stars 78 forks source link

python2 cleaup #356

Closed a-detiste closed 6 months ago

a-detiste commented 6 months ago

cleanup of remaing Python2 compatibility code.

unittest.mock is already used is some other places.

https://github.com/testing-cabal/mock

mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.