Page MenuHomePhabricator

[buildbot] remove dependency on third-party mock library
ClosedPublic

Authored by PiRK on Wed, Feb 11, 15:16.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC7f0bd273417e: [buildbot] remove dependency on third-party mock library
Summary

See https://pypi.org/project/mock/#description:

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

Depends on D19550

Test Plan

pytest

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Wed, Feb 11, 15:16
PiRK added inline comments.
contrib/buildbot/test/test_endpoint_buildDiff.py
10–12 ↗(On Diff #58265)

we were already using a weird mix of both

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
This revision is now accepted and ready to land.Wed, Feb 11, 16:53