403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/databases/py-caterva/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/databases/py-caterva/files/patch-tests-test_metalayers.py
--- tests/test_metalayers.py.orig	2022-01-28 12:38:26 UTC
+++ tests/test_metalayers.py
@@ -13,7 +13,7 @@ import os
 from msgpack import packb
 
 
-@pytest.mark.parametrize("sequencial",
+@pytest.mark.parametrize("contiguous",
                          [
                              True,
                              False,
@@ -24,7 +24,7 @@ from msgpack import packb
                              ([20, 134, 13], [12, 66, 8], [3, 13, 5], "testmeta01.cat", np.int32),
                              ([12, 13, 14, 15, 16], [8, 9, 4, 12, 9], [2, 6, 4, 5, 4], "testmeta02.cat", np.float32)
                          ])
-def test_metalayers(shape, chunks, blocks, urlpath, sequencial, dtype):
+def test_metalayers(shape, chunks, blocks, urlpath, contiguous, dtype):
     if os.path.exists(urlpath):
         cat.remove(urlpath)
 
@@ -34,7 +34,7 @@ def test_metalayers(shape, chunks, blocks, urlpath, se
     # Create an empty caterva array (on disk)
     itemsize = np.dtype(dtype).itemsize
     a = cat.empty(shape, itemsize, chunks=chunks, blocks=blocks,
-                  urlpath=urlpath, sequencial=sequencial,
+                  urlpath=urlpath, contiguous=contiguous,
                   meta={"numpy": numpy_meta,
                         "test": test_meta})
 

Youez - 2016 - github.com/yon3zu
LinuXploit