New review comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/36538#discussion_r845666968 Comment: For this one, running with pytest gave an unhelpful error while running with setup.py works fine... ``` => python3-pyzstd-0.15.2_1: running do_check ... ============================= test session starts ============================== platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 rootdir: /builddir/pyzstd-0.15.2 collected 130 items tests/test_zstd.py ..................................................... [ 40%] ........................................................................ [ 96%] ....F [100%] =================================== FAILURES =================================== __________________________________ test_main ___________________________________ def test_main(): > unittest.main() tests/test_zstd.py:3220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/unittest/main.py:101: in __init__ self.runTests() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def runTests(self): if self.catchbreak: installHandler() if self.testRunner is None: self.testRunner = runner.TextTestRunner if isinstance(self.testRunner, type): try: try: testRunner = self.testRunner(verbosity=self.verbosity, failfast=self.failfast, buffer=self.buffer, warnings=self.warnings, tb_locals=self.tb_locals) except TypeError: # didn't accept the tb_locals argument testRunner = self.testRunner(verbosity=self.verbosity, failfast=self.failfast, buffer=self.buffer, warnings=self.warnings) except TypeError: # didn't accept the verbosity, buffer or failfast arguments testRunner = self.testRunner() else: # it is assumed to be a TestRunner instance testRunner = self.testRunner self.result = testRunner.run(self.test) if self.exit: > sys.exit(not self.result.wasSuccessful()) E SystemExit: False /usr/lib/python3.10/unittest/main.py:273: SystemExit ----------------------------- Captured stderr call ----------------------------- ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK =========================== short test summary info ============================ FAILED tests/test_zstd.py::test_main - SystemExit: False ======================== 1 failed, 129 passed in 2.57s ========================= => ERROR: python3-pyzstd-0.15.2_1: do_check: 'PYTHONPATH="$(cd build/lib* && pwd)" pytest3' exited with 1 => ERROR: in do_check() at srcpkgs/python3-pyzstd/template:20 ```