Merge pull request #60674 from risicle/ris-papis-fix

pythonPackages.papis: fix build by disabling over-specific yaml output tests
This commit is contained in:
worldofpeace 2019-05-07 16:33:15 -04:00 committed by GitHub
commit 178605a57f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,9 +38,11 @@ buildPythonPackage rec {
];
# most of the downloader tests and 4 other tests require a network connection
# test_export_yaml and test_citations check for the exact output produced by pyyaml 3.x and
# fail with 5.x
checkPhase = ''
HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
-k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url"
-k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url and not test_export_yaml and not test_citations"
'';
meta = {