Navigation Menu

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 9f65c524bb66
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: e7494514708c
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 29, 2020

  1. 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
    ```
    Thibault Gagnaux authored and jonringer committed Sep 29, 2020
    Copy the full SHA
    e749451 View commit details
    Browse the repository at this point in the history