/usr/local/lib64/python3.6/site-packages/pyarrow/tests/__pycache__
NameSizeModeActions
arrow_7980.cpython-36.pyc3550644editdlrm
conftest.cpython-36.pyc59140644editdlrm
deserialize_buffer.cpython-36.pyc2980644editdlrm
pandas_examples.cpython-36.pyc34180644editdlrm
pandas_threaded_import.cpython-36.pyc8030644editdlrm
strategies.cpython-36.pyc87220644editdlrm
test_adhoc_memory_leak.cpython-36.pyc11250644editdlrm
test_array.cpython-36.pyc768100644editdlrm
test_builder.cpython-36.pyc15540644editdlrm
test_cffi.cpython-36.pyc89060644editdlrm
test_compute.cpython-36.pyc660710644editdlrm
test_convert_builtin.cpython-36.pyc617110644editdlrm
test_csv.cpython-36.pyc461740644editdlrm
test_cuda.cpython-36.pyc186650644editdlrm
test_cuda_numba_interop.cpython-36.pyc59110644editdlrm
test_cython.cpython-36.pyc41370644editdlrm
test_dataset.cpython-36.pyc1001270644editdlrm
test_deprecations.cpython-36.pyc1990644editdlrm
test_extension_type.cpython-36.pyc208300644editdlrm
test_feather.cpython-36.pyc207410644editdlrm
test_filesystem.cpython-36.pyc15740644editdlrm
test_flight.cpython-36.pyc676060644editdlrm
test_fs.cpython-36.pyc413060644editdlrm
test_gandiva.cpython-36.pyc94470644editdlrm
test_hdfs.cpython-36.pyc128840644editdlrm
test_io.cpython-36.pyc484880644editdlrm
test_ipc.cpython-36.pyc272610644editdlrm
test_json.cpython-36.pyc94520644editdlrm
test_jvm.cpython-36.pyc90860644editdlrm
test_memory.cpython-36.pyc41490644editdlrm
test_misc.cpython-36.pyc45770644editdlrm
test_orc.cpython-36.pyc60300644editdlrm
test_pandas.cpython-36.pyc1300600644editdlrm
test_plasma.cpython-36.pyc257740644editdlrm
test_plasma_tf_op.cpython-36.pyc24970644editdlrm
test_scalars.cpython-36.pyc185350644editdlrm
test_schema.cpython-36.pyc176720644editdlrm
test_serialization.cpython-36.pyc359570644editdlrm
test_serialization_deprecated.cpython-36.pyc12260644editdlrm
test_sparse_tensor.cpython-36.pyc116150644editdlrm
test_strategies.cpython-36.pyc17670644editdlrm
test_table.cpython-36.pyc449460644editdlrm
test_tensor.cpython-36.pyc56270644editdlrm
test_types.cpython-36.pyc294600644editdlrm
test_util.cpython-36.pyc9210644editdlrm
util.cpython-36.pyc104380644editdlrm
__init__.cpython-36.pyc1490644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/pyarrow/tests/__pycache__/conftest.cpython-36.pyc (5914B)
3 9%Eg.c@sddlZddlZddlZddlmZddlZddlZddlm Z ddl m Z ej j dddej j dd dej j d d ejjd ej jejjd ddejd<ddddddddddddddddd d!d"d#d$d%d&d'gZe jde jdd(d(d(d(d(e jdd(d(e jdd(d(d(d(d(d(d(e jd"d(d(d(d)e jd'd*ZyddlZd)ed<Wnek rZYnXyddlZd)ed<Wnek rYnXyddlZ d)ed<Wnek rYnXyddlZ d)ed<Wnek rYnXyddlZ d)ed<Wnek r YnXyddlZd)ed<Wnek r>d)ed<YnXyddlZ d)ed<Wnek rjYnXyddlZ d)ed <Wnek rYnXyddlZd)ed#<Wnek rYnXyddl Z d)ed$<Wnek rYnXydd+l!m"Z"d)ed!<Wnek rYnXydd,l!m#Z#d)ed<Wnek rNYnXd-d.Z$Gd/d0d0Z%d1d2Z&d3d4Z'ej(d5d6Z)ej(d7d8d9d:Z*ej(d)d;dd?Z,ej(d7d8d@dAZ-ej(d7d8dBdCZ.dS)DN)TemporaryDirectory)find_free_port)Codeccii) max_examplesdev2debug )r verbosityZHYPOTHESIS_PROFILEz /dev/nullZAWS_CONFIG_FILEbrotlibz2cythondataset hypothesis fastparquetgandivagziphdfs large_memorylz4 memory_leaknopandasorcpandasparquetplasmas3snappy tensorflowflightslowrequires_testing_datazstdFT)r r rrrrrrrrrrrrrrrrrrr r!r"r#) S3FileSystem)HadoopFileSystemcCsld dd}x\tD]T}|dj|t|}|jdj|d|dj|d|jdj|dd d j|dqWdS) NcSsTtjj|j}|dkr|S|j}|dkr0dS|dkrr&r*r'r)r(>r-r.r/r,r+)osenvirongetupperlower ValueErrorformat)namedefaultvaluer:B/usr/local/lib64/python3.6/site-packages/pyarrow/tests/conftest.pybool_envsz"pytest_addoption..bool_envzPYARROW_TEST_{}z --enable-{} store_truezEnable the {} test group)actionr8helpz --disable-{}FzDisable the {} test group)N)groupsr6defaultsZ addoption)parserr<groupr8r:r:r;pytest_addoptions   rDc@s$eZdZddZddZddZdS) PyArrowConfigcCs i|_dS)N) is_enabled)selfr:r:r;__init__szPyArrowConfig.__init__cCs|j}|tkr|j|dS)N)r7r@requires)rGmarkrCr:r:r; apply_markszPyArrowConfig.apply_markcCs|j|stjdj|dS)Nz{} NOT enabled)rFpytestskipr6)rGrCr:r:r;rIs zPyArrowConfig.requiresN)__name__ __module__ __qualname__rHrKrIr:r:r:r;rEsrEcCs\t|_xNtD]F}|jd|dj|}dj|}|j|oF|j| }||jj|<qWdS)Nmarkersz --enable-{}z --disable-{})rEpyarrowr@Zaddinivalue_liner6Z getoptionrF)configrJZ enable_flagZ disable_flagrFr:r:r;pytest_configures     rTcCs$x|jD]}|jjj|q WdS)N)Z iter_markersrSrRrK)itemrJr:r:r;pytest_runtest_setupsrVcCs tj|jS)N)pathlibPathZstrpath)Ztmpdirr:r:r;tempdirsrYsession)ZscopecCstjtjdS)Ndata)rWrX__file__parentr:r:r:r; base_datadirsr^)ZautousecCs|jdddS)zStop the AWS SDK from trying to contact the EC2 metadata server. Otherwise, this causes a 5 second delay in tests that exercise the S3 filesystem. ZAWS_EC2_METADATA_DISABLEDr'N)Zsetenv)Z monkeypatchr:r:r;disable_aws_metadatasr_cCs8tjjdd}ttjjdd}tjjdd}|||fS)NZARROW_HDFS_TEST_HOSTr8ZARROW_HDFS_TEST_PORTrZARROW_HDFS_TEST_USERr)r0r1r2int)hostportuserr:r:r;hdfs_connectionsrdcCs dt}}d\}}||||fS)N localhostarrow apachearrow)rfrg)r)rarb access_key secret_keyr:r:r; s3_connection s rjc cs|\}}}}dj||}tjj}|j||dtt}ddddd||g}d} zDytj||d} Wntk rt j d YnX|| |d VWd| dk r| j XWdQRXdS) Nz{}:{})ZMINIO_ACCESS_KEYZMINIO_SECRET_KEYZminioz--compatserverz--quietz --address)envz!`minio` command cannot be located) connectionprocessrY) r6r0r1copyupdater subprocessPopenOSErrorrLrMkill) rjrarbrhriaddressrlrYargsprocr:r:r; s3_servers&     rx)/r0rWrqtempfilerrLrhZ pyarrow.utilrrRrsettingsZregister_profileZ VerbosityverboseZ load_profiler1r2r@Z is_availablerAr ImportErrorrZpyarrow.gandivaZpyarrow.datasetZ pyarrow.orcrZpyarrow.parquetZpyarrow.plasmarZpyarrow.flightZ pyarrow.fsr$r%rDrErTrVZfixturerYr^r_rdrjrxr:r:r:r;s