A reasonable fix might be to just tell pybuild not to run tests.
OpenSlide Python doesn't have a test suite, and probably won't any time
soon.
- Bug#800810: openslide-python: Missing Build-Depends on py... Benjamin Gilbert
- Bug#800810: openslide-python: Missing Build-Depends ... Benjamin Gilbert