diff options
| author | Thibault Gagnaux <thibault@gagnaux.ch> | 2020-09-29 13:56:46 +0200 |
|---|---|---|
| committer | Jon <jonringer@users.noreply.github.com> | 2020-09-29 05:53:10 -0700 |
| commit | e7494514708cb4962c7ea5c7eefe032150ab3544 (patch) | |
| tree | c38ac2dc3bf3ff751cef1d5af1b2821266ccb64a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 9f65c524bb6652e30ee35edca2d15354ef92b6d5 (diff) | |
python3Packages.fsspec: fix tests on darwin
Disables the `test_touch` test which fails with the following assertion error on hydra darwin only:
```
tmpdir = local('/private/tmp/nix-build-python3.8-fsspec-0.8.3.drv-0/pytest-of-nixbld3/pytest-0/test_touch0')
def test_touch(tmpdir):
import time
fn = tmpdir + "/in/file"
fs = fsspec.filesystem("file", auto_mkdir=False)
with pytest.raises(OSError):
fs.touch(fn)
fs = fsspec.filesystem("file", auto_mkdir=True)
fs.touch(fn)
info = fs.info(fn)
time.sleep(0.2)
fs.touch(fn)
info2 = fs.info(fn)
if not WIN:
> assert info2["mtime"] > info["mtime"]
E assert 1601358357.0 > 1601358357.0
fsspec/implementations/tests/test_local.py:322: AssertionError
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
