The test suite should run on debuild.

The package also ships DEP-8 smoketesting.

To run a single test file before building/installing a new version:

PYTHONPATH=Lib python3 Lib/test/test_xmlrpc.py