python3Packages.tld: fix on darwin

This commit is contained in:
Robert T. McGibbon 2021-05-07 18:22:35 -04:00 committed by Jonathan Ringer
parent 6b6537841c
commit 34e037b636

View file

@ -26,6 +26,12 @@ buildPythonPackage rec {
tox
];
# these tests require network access, but disabledTestPaths doesn't work.
# the file needs to be `import`ed by another python test file, so it
# can't simply be removed.
preCheck = ''
echo > src/tld/tests/test_commands.py
'';
pythonImportsCheck = [ "tld" ];
meta = with lib; {