| /external/python/pyfakefs/ |
| D | README.md | 1 …version](https://badge.fury.io/py/pyfakefs.svg)](https://badge.fury.io/py/pyfakefs) [ 29 most relevant classes, methods and functions for the last version 31 * The [Development documentation](https://pytest-pyfakefs.readthedocs.io/en/latest) 33 * The [Release 3.7 documentation](https://pytest-pyfakefs.readthedocs.io/en/v3.7.2/) 34 contains usage documentation for the last version of pyfakefs 36 * The [Release Notes](https://github.com/pytest-dev/pyfakefs/blob/main/CHANGES.md) [all …]
|
| /external/python/pyfakefs/.github/workflows/ |
| D | testsuite.yml | 8 runs-on: ubuntu-latest 10 - name: Check out repository 12 - name: Set up Python 13 uses: actions/setup-python@v4 15 python-version: "3.10" 16 - name: install pytype 17 run: pip install setuptools pytype pytest scandir pathlib2 pandas xlrd django 18 - name: Run pytype 20 pytype pyfakefs --keep-going --exclude pyfakefs/tests/* --exclude pyfakefs/pytest_tests/* 23 runs-on: ${{ matrix.os }} [all …]
|
| /external/trusty/arm-trusted-firmware/ |
| D | poetry.lock | 5 version = "0.7.13" 6 description = "A configurable sidebar-enabled Sphinx theme" 8 python-versions = ">=3.6" 10 …{file = "alabaster-0.7.13-py3-none-any.whl", hash = "sha256:1ee19aca801bbabb5ba3f5f258e4422dfa86f8… 11 …{file = "alabaster-0.7.13.tar.gz", hash = "sha256:a27a4a084d5e690e16e01e03ad2b2e552c61a65469419b90… 16 version = "2.8.0" 19 python-versions = "*" 21 …{file = "anytree-2.8.0-py2.py3-none-any.whl", hash = "sha256:14c55ac77492b11532395049a03b773d14c7e… 22 …{file = "anytree-2.8.0.tar.gz", hash = "sha256:3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1… 29 dev = ["check-manifest"] [all …]
|
| /external/python/setuptools/setuptools/tests/ |
| D | fixtures.py | 7 import pytest 13 @pytest.fixture 27 @pytest.fixture 33 @pytest.fixture(autouse=True, scope="session") 36 Workaround pytest-dev/pytest-xdist#376 38 ``pytest-xdist`` tends to inject '' into ``sys.path``, 50 @pytest.fixture 59 pytest.skip("Unable to clone sampleproject") 67 @pytest.fixture(scope="session") 79 sys.executable, "-m", "build", "--sdist", [all …]
|
| D | test_dist.py | 24 import pytest 35 def sdist_with_index(distname, version): argument 37 dist_sdist = '%s-%s.tar.gz' % (distname, version) 38 make_nspkg_sdist(str(dist_dir.join(dist_sdist)), distname, version) 48 sdist_with_index('barbazquux-runner', '2.11.1') 57 barbazquux-runner 71 pytest.warns(DistDeprecationWarning, _get_unpatched, [""]) 76 version="0.0.1", 91 ('Metadata version 1.0', params()), 92 ('Metadata Version 1.0: Short long description', params( [all …]
|
| D | test_setuptools.py | 12 import pytest 14 from setuptools.extern.packaging import version 22 @pytest.fixture(autouse=True) 41 needs_bytecode = pytest.mark.skipif( 50 # skip on non-bytecode platforms 61 assert dep.extract_constant(fc, 'q', -1) is None 64 dep.extract_constant(fc, 'x', -1) == "test" 67 dep.extract_constant(fc, 'y', -1) == -1 70 dep.extract_constant(fc, 'z', -1) is None 73 with pytest.raises(ImportError): [all …]
|
| D | test_virtualenv.py | 9 import pytest 16 @pytest.fixture(autouse=True) 22 venv_prefix = venv.run(["python" , "-c", "import sys; print(sys.prefix)"]).strip() 24 pytest.skip("virtualenv is broken (see pypa/setuptools#1284)") 31 cmd = ["python", "-m", "pip", "install", str(setuptools_wheel)] 47 @pytest.mark.skipif( 49 reason="https://github.com/pypa/setuptools/pull/2865#issuecomment-965834995", 51 @pytest.mark.skipif(not access_pypi(), reason="no network") 52 # ^-- Even when it is not necessary to install a different version of `pip` 54 @pytest.mark.parametrize( [all …]
|
| D | test_easy_install.py | 23 import pytest 44 @pytest.fixture(autouse=True) 82 '^# EASY-INSTALL-ENTRY-SCRIPT', script, flags=re.MULTILINE) 85 # new option '--no-find-links', that blocks find-links added at 114 with pytest.raises(distutils.errors.DistutilsError): 122 path = normalize_path('/setuptools/test/site-packages') 133 @pytest.fixture 141 name="setuptools-test-unicode", 142 version="1.0", 157 sdist_name = 'setuptools-test-unicode-1.0.zip' [all …]
|
| D | test_msvc14.py | 1 # -*- coding: utf-8 -*- 8 import pytest 12 @pytest.mark.skipif(sys.platform != "win32", 28 pytest.raises(DistutilsPlatformError, 30 'wont find this version') 57 version, path = _msvccompiler._msvc14_find_vc2017() 61 assert version 62 if version: 63 assert version >= 15 66 pytest.skip("VS 2017 is not installed") [all …]
|
| /external/openthread/tools/tcat_ble_client/ |
| D | poetry.lock | 4 name = "async-timeout" 5 version = "4.0.2" 8 python-versions = ">=3.6" 10 …{file = "async-timeout-4.0.2.tar.gz", hash = "sha256:2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553… 11 …{file = "async_timeout-4.0.2-py3-none-any.whl", hash = "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf… 15 typing-extensions = {version = ">=3.6.5", markers = "python_version < \"3.8\""} 19 version = "0.20.2" 22 python-versions = ">=3.7,<4.0" 24 …{file = "bleak-0.20.2-py3-none-any.whl", hash = "sha256:ce3106b7258212d92bb77be06f9301774f51f5bbc9… 25 …{file = "bleak-0.20.2.tar.gz", hash = "sha256:6c92a47abe34e6dea8ffc5cea9457cbff6e1be966854839dbc25… [all …]
|
| /external/curl/tests/http/ |
| D | README.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 13 The test cases and necessary files are in `tests/http`. You can invoke `pytest` from there or from … 16 curl> pytest 17 platform darwin -- Python 3.9.15, pytest-6.2.0, py-1.10.0, pluggy-0.13.1 24 Pytest takes arguments. `-v` increases its verbosity and can be used several times. `-k <expr>` can… 27 curl> pytest -vv -k test_01_02 32 …me test cases may be skipped and appear as `s` in the output. If you run pytest verbose, it will a… 38 1. a recent Python, the `cryptography` module and, of course, `pytest` [all …]
|
| /external/python/setuptools/ |
| D | pytest.ini | 1 [pytest] section 4 --doctest-modules 5 --doctest-glob=pkg_resources/api_tests.txt 6 -r sxX 16 # shopkeep/pytest-black#55 argument 17 …ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprec… 18 …ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecation… 19 ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning 21 # tholo/pytest-flake8#83 22 …ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDepr… [all …]
|
| D | setup.cfg | 3 version = 61.1.0 5 author_email = distutils-sig@python.org 10 Development Status :: 5 - Production/Stable 40 pytest >= 6 41 pytest-checkdocs >= 2.4 42 pytest-flake8 43 pytest-black >= 0.3.7; \ 45 pytest-cov; \ 47 pytest-mypy >= 0.9.1; \ 49 pytest-enabler >= 1.0.1 [all …]
|
| /external/python/google-auth-library-python/tests/transport/ |
| D | test__mtls_helper.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 20 import pytest 29 ENCRYPTED_EC_PRIVATE_KEY = b"""-----BEGIN ENCRYPTED PRIVATE KEY----- 35 -----END ENCRYPTED PRIVATE KEY-----""" 37 EC_PUBLIC_KEY = b"""-----BEGIN PUBLIC KEY----- 40 -----END PUBLIC KEY-----""" 42 PASSPHRASE = b"""-----BEGIN PASSPHRASE----- 44 -----END PASSPHRASE-----""" 64 pytest.public_cert_bytes + pytest.private_key_bytes, [all …]
|
| /external/python/setuptools/setuptools/tests/integration/ |
| D | test_pip_install_sdist.py | 22 import pytest 28 pytestmark = pytest.mark.integration 31 """Default version to be checked""" 32 # There are positive and negative aspects of checking the latest version of the 34 # The main positive aspect is that the latest version might have already 41 # that `build-essential`, `gfortran` and `libopenblas-dev` are installed, 47 ("pytest", LATEST), # uses setuptools_scm 50 # --- Popular packages: https://hugovk.github.io/top-pypi-packages/ --- 52 ("kiwisolver", "1.3.2"), # build_ext, version pinned due to setup_requires 68 VIRTUALENV = (sys.executable, "-m", "virtualenv") [all …]
|
| /external/mesa3d/src/gallium/targets/teflon/ |
| D | test_model_generation.py | 33 import pytest 69 tmp = tempfile.NamedTemporaryFile(delete=False, prefix="conv2d-", suffix=".h5", mode="w") 98 …ret = os.system("flatc --json src/gallium/frontends/teflon/tests/tflite_schema.fbs -- " + file_pat… 111 if "version" in model["operator_codes"][0].keys(): 112 del model["operator_codes"][0]["version"] 135 ret = os.system("diff -U30 -u " + file_1 + " " + file_2) 191 @pytest.mark.parametrize("batch_size", [1]) 192 @pytest.mark.parametrize("input_size", [4, 112]) 193 @pytest.mark.parametrize("weight_size", [1, 3]) 194 @pytest.mark.parametrize("in_ch", [1, 32, 120, 128, 256]) [all …]
|
| /external/fonttools/Tests/ttLib/tables/ |
| D | _k_e_r_n_test.py | 6 import pytest 10 "0000 " # 0: version=0 12 "0000 " # 4: version=0 (bogus field, unused) 20 "0004 000C FFD8 " # 18: l=4, r=12, v=-40 22 "0005 0028 FFCE " # 30: l=5, r=40, v=-50 27 '<version value="0"/>', 29 ' <pair l="E" r="M" v="-40"/>', 31 ' <pair l="F" r="o" v="-50"/>', 36 "0001 0000 " # 0: version=1 46 "0004 000C FFD8 " # 24: l=4, r=12, v=-40 [all …]
|
| /external/python/google-auth-library-python/system_tests/system_tests_async/ |
| D | conftest.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 21 import pytest 33 @pytest.fixture 39 @pytest.fixture 45 @pytest.fixture 51 @pytest.fixture 57 @pytest.fixture(params=["aiohttp"]) 63 @pytest.fixture 83 return json.loads(data.decode("utf-8")) [all …]
|
| /external/python/google-auth-library-python/system_tests/system_tests_sync/ |
| D | conftest.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 21 import pytest 38 @pytest.fixture 44 @pytest.fixture 50 @pytest.fixture 56 @pytest.fixture(params=["urllib3", "requests"]) 61 @pytest.fixture 70 @pytest.fixture 91 @pytest.fixture [all …]
|
| /external/mesa3d/bin/ |
| D | gen_release_notes_test.py | 25 import pytest 27 # AsyncMock is new in 3.8, so if we're using an older version we need the 28 # backported version of mock 37 @pytest.mark.parametrize( 42 ('20.0.0-rc4', False, '20.0.0'), 44 def test_next_version(current: str, is_point: bool, expected: str) -> None: 48 @pytest.mark.parametrize( 52 ('20.0.0-rc4', False, '19.3.0'), 54 def test_previous_version(current: str, is_point: bool, expected: str) -> None: 58 @pytest.mark.asyncio [all …]
|
| /external/python/setuptools/pkg_resources/tests/ |
| D | test_resources.py | 7 import pytest 19 "s -> (s0,s1), (s1,s2), (s2, s3), ..." 26 """Mock object to return metadata as if from an on-disk distribution""" 50 ad.add(dist_from_fn("FooPkg-1.3_1.egg")) 51 ad.add(dist_from_fn("FooPkg-1.4-py2.4-win32.egg")) 52 ad.add(dist_from_fn("FooPkg-1.2-py2.4.egg")) 59 # Distributions sort by version 60 expected = ['1.4', '1.3-1', '1.2'] 61 assert [dist.version for dist in ad['FooPkg']] == expected 65 assert [dist.version for dist in ad['FooPkg']] == ['1.4', '1.2'] [all …]
|
| D | test_pkg_resources.py | 21 import pytest 165 assert called_dirnames[0].split(os.sep)[-2:] == ['foo', 'bar'] 166 assert called_dirnames[1].split(os.sep)[-1:] == ['foo'] 185 cmd = [sys.executable, '-c', '; '.join(lines)] 196 "<project>.dist-info/METADATA". 211 Test a metadata file with bytes that can't be decoded as utf-8. 215 metadata_path = os.path.join(str(tmpdir), 'foo.dist-info', filename) 216 # Encode a non-ascii string with the wrong encoding (not utf-8). 217 metadata = 'née'.encode('iso-8859-1') 220 with pytest.raises(UnicodeDecodeError) as excinfo: [all …]
|
| /external/python/python-api-core/tests/asyncio/future/ |
| D | test_async_future.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 18 import pytest 38 @pytest.mark.asyncio 47 @pytest.mark.asyncio 64 @pytest.mark.asyncio 72 with pytest.raises(ValueError): 84 @pytest.mark.asyncio 113 @pytest.mark.asyncio 133 @pytest.mark.asyncio [all …]
|
| /external/python/google-auth-library-python/tests_async/oauth2/ |
| D | test__client_async.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 19 import pytest 35 data = json.dumps(response_data).encode("utf-8") 44 @pytest.mark.asyncio 57 headers={"Content-Type": "application/x-www-form-urlencoded"}, 58 body="test=params".encode("utf-8"), 65 @pytest.mark.asyncio 84 "Content-Type": "application/json", 94 @pytest.mark.asyncio [all …]
|
| /external/fonttools/Tests/ufoLib/ |
| D | glifLib_test.py | 22 import pytest 62 elif line.startswith("- "): 163 with pytest.raises(GlifLibError, match=expected_message): 216 # make sure filenames are unique even on case-insensitive filesystems 241 assert s.startswith(XML_DECLARATION % "UTF-8") 244 s = b"""<?xml version='1.0' encoding='UTF-8'?> 245 <!-- a comment --> 249 <!-- another comment --> 268 with pytest.raises(GlifLibError, match="GLIF contains invalid XML"): 272 s = """<?xml version='1.0' encoding='utf-8'?> [all …]
|