diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-17 08:12:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-17 08:12:12 +0000 |
| commit | 65b67dff619cdbd5e8b3e9b14ffb28f03a2b56df (patch) | |
| tree | e62431366681c46af0f93f1d5b0e1b2e6221f0fd /dev-python/fsspec/files | |
| parent | 894feb4dcad43f60c61f12e12decb9801819ba80 (diff) | |
| download | baldeagleos-repo-65b67dff619cdbd5e8b3e9b14ffb28f03a2b56df.tar.gz baldeagleos-repo-65b67dff619cdbd5e8b3e9b14ffb28f03a2b56df.tar.xz baldeagleos-repo-65b67dff619cdbd5e8b3e9b14ffb28f03a2b56df.zip | |
Adding metadata
Diffstat (limited to 'dev-python/fsspec/files')
| -rw-r--r-- | dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch b/dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch deleted file mode 100644 index 0c76d8ac71df..000000000000 --- a/dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 270423008d401d9f03a31f08c53a7b13fa193573 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 23 Jun 2021 09:23:31 +0200 -Subject: [PATCH] Fix test_unmodel to accept ujson encoding without whitespace - -The ujson encoding for test_unmodel data is b'"Conventions":"UGRID-0.9.0"' -(without a space after ':') that breaks the test for me. Update -the test to make the whitespace optional. - -That said, I have tried multiple ujson versions, going back to <3, -and was not able to reproduce the output with space. ---- - fsspec/implementations/tests/test_reference.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/fsspec/implementations/tests/test_reference.py b/fsspec/implementations/tests/test_reference.py -index a1a8fdc..15a32d5 100644 ---- a/fsspec/implementations/tests/test_reference.py -+++ b/fsspec/implementations/tests/test_reference.py -@@ -104,7 +104,8 @@ jdata = """{ - - def test_unmodel(): - refs = _unmodel_hdf5(json.loads(jdata)) -- assert b'"Conventions": "UGRID-0.9.0"' in refs[".zattrs"] -+ # apparently the output may or may not contain a space after ':' -+ assert b'"Conventions":"UGRID-0.9.0"' in refs[".zattrs"].replace(b' ', b'') - assert refs["adcirc_mesh/0"] == ("https://url", 8928, 8932) - - --- -2.32.0 - |
