python3Packages.tld: fix on darwin
This commit is contained in:
parent
6b6537841c
commit
34e037b636
1 changed files with 6 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue