python313Packages.pysmartdl: fix tests (#404507)
This commit is contained in:
@@ -22,6 +22,11 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
# https://docs.python.org/3/whatsnew/3.13.html#unittest
|
||||
preCheck = ''
|
||||
substituteInPlace test/test_pySmartDL.py \
|
||||
--replace-fail 'unittest.makeSuite(' 'unittest.TestLoader().loadTestsFromTestCase('
|
||||
'';
|
||||
disabledTests = [
|
||||
# touch the network
|
||||
"test_basic_auth"
|
||||
|
||||
Reference in New Issue
Block a user