Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.8: pyasn1-module pytest warnings #204

Open
kloczek opened this issue Jul 7, 2021 · 0 comments
Open

0.4.8: pyasn1-module pytest warnings #204

kloczek opened this issue Jul 7, 2021 · 0 comments

Comments

@kloczek
Copy link

kloczek commented Jul 7, 2021

During testing pyasn1-module pythest shows some warnings:

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pyasn1-module-0.2.8-6.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pyasn1-module-0.2.8-6.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/pyasn1-modules-0.2.8
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, httpbin-1.0.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, asyncio-0.15.1, toolbox-0.5, xprocess-0.17.1, aiohttp-0.3.0, checkdocs-2.7.0, mock-3.6.1, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, flaky-3.7.0, hypothesis-6.14.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, Faker-8.9.0, cases-3.6.2
collected 212 items

. .                                                                                                                                                                  [  0%]
tests/test_pem.py .                                                                                                                                                  [  0%]
tests/test_rfc2314.py .                                                                                                                                              [  1%]
tests/test_rfc2315.py ..                                                                                                                                             [  2%]
tests/test_rfc2437.py .                                                                                                                                              [  2%]
tests/test_rfc2459.py ......                                                                                                                                         [  5%]
tests/test_rfc2511.py .                                                                                                                                              [  6%]
tests/test_rfc2560.py ..                                                                                                                                             [  7%]
tests/test_rfc2631.py .                                                                                                                                              [  7%]
tests/test_rfc2634.py ...                                                                                                                                            [  9%]
tests/test_rfc2985.py ..                                                                                                                                             [  9%]
tests/test_rfc2986.py ..                                                                                                                                             [ 10%]
tests/test_rfc3114.py .                                                                                                                                              [ 11%]
tests/test_rfc3161.py ..                                                                                                                                             [ 12%]
tests/test_rfc3274.py ..                                                                                                                                             [ 13%]
tests/test_rfc3279.py ..........                                                                                                                                     [ 18%]
tests/test_rfc3280.py ..                                                                                                                                             [ 18%]
tests/test_rfc3281.py .                                                                                                                                              [ 19%]
tests/test_rfc3447.py .                                                                                                                                              [ 19%]
tests/test_rfc3560.py ...                                                                                                                                            [ 21%]
tests/test_rfc3565.py ...                                                                                                                                            [ 22%]
tests/test_rfc3709.py ....                                                                                                                                           [ 24%]
tests/test_rfc3770.py ..                                                                                                                                             [ 25%]
tests/test_rfc3779.py ..                                                                                                                                             [ 26%]
tests/test_rfc3852.py .                                                                                                                                              [ 27%]
tests/test_rfc4043.py ..                                                                                                                                             [ 27%]
tests/test_rfc4055.py ..........                                                                                                                                     [ 32%]
tests/test_rfc4073.py ..                                                                                                                                             [ 33%]
tests/test_rfc4108.py ..                                                                                                                                             [ 34%]
tests/test_rfc4210.py .                                                                                                                                              [ 35%]
tests/test_rfc4211.py .                                                                                                                                              [ 35%]
tests/test_rfc4334.py ..                                                                                                                                             [ 36%]
tests/test_rfc4985.py ..                                                                                                                                             [ 37%]
tests/test_rfc5035.py ...                                                                                                                                            [ 38%]
tests/test_rfc5083.py ..                                                                                                                                             [ 39%]
tests/test_rfc5084.py ...                                                                                                                                            [ 41%]
tests/test_rfc5208.py ..                                                                                                                                             [ 42%]
tests/test_rfc5280.py ......                                                                                                                                         [ 45%]
tests/test_rfc5480.py ..                                                                                                                                             [ 45%]
tests/test_rfc5649.py ..                                                                                                                                             [ 46%]
tests/test_rfc5652.py ..                                                                                                                                             [ 47%]
tests/test_rfc5751.py .                                                                                                                                              [ 48%]
tests/test_rfc5755.py ....                                                                                                                                           [ 50%]
tests/test_rfc5913.py ..                                                                                                                                             [ 51%]
tests/test_rfc5914.py .                                                                                                                                              [ 51%]
tests/test_rfc5915.py .                                                                                                                                              [ 52%]
tests/test_rfc5916.py ..                                                                                                                                             [ 53%]
tests/test_rfc5917.py ..                                                                                                                                             [ 54%]
tests/test_rfc5924.py .                                                                                                                                              [ 54%]
tests/test_rfc5934.py ....                                                                                                                                           [ 56%]
tests/test_rfc5940.py ..                                                                                                                                             [ 57%]
tests/test_rfc5958.py ..                                                                                                                                             [ 58%]
tests/test_rfc5990.py ..                                                                                                                                             [ 59%]
tests/test_rfc6010.py ...                                                                                                                                            [ 60%]
tests/test_rfc6019.py ..                                                                                                                                             [ 61%]
tests/test_rfc6031.py ..                                                                                                                                             [ 62%]
tests/test_rfc6032.py ..                                                                                                                                             [ 63%]
tests/test_rfc6120.py ..                                                                                                                                             [ 64%]
tests/test_rfc6187.py .                                                                                                                                              [ 64%]
tests/test_rfc6210.py .                                                                                                                                              [ 65%]
tests/test_rfc6211.py ..                                                                                                                                             [ 66%]
tests/test_rfc6402.py ..                                                                                                                                             [ 67%]
tests/test_rfc6482.py ..                                                                                                                                             [ 68%]
tests/test_rfc6486.py ..                                                                                                                                             [ 69%]
tests/test_rfc6487.py ..                                                                                                                                             [ 70%]
tests/test_rfc6664.py ..                                                                                                                                             [ 71%]
tests/test_rfc6955.py ..                                                                                                                                             [ 72%]
tests/test_rfc6960.py ....                                                                                                                                           [ 73%]
tests/test_rfc7030.py ..                                                                                                                                             [ 74%]
tests/test_rfc7191.py ......                                                                                                                                         [ 77%]
tests/test_rfc7229.py .                                                                                                                                              [ 78%]
tests/test_rfc7292.py ..                                                                                                                                             [ 79%]
tests/test_rfc7296.py .                                                                                                                                              [ 79%]
tests/test_rfc7508.py ..                                                                                                                                             [ 80%]
tests/test_rfc7585.py ..                                                                                                                                             [ 81%]
tests/test_rfc7633.py .                                                                                                                                              [ 81%]
tests/test_rfc7773.py .                                                                                                                                              [ 82%]
tests/test_rfc7894.py ..                                                                                                                                             [ 83%]
tests/test_rfc7906.py ..                                                                                                                                             [ 84%]
tests/test_rfc7914.py ..                                                                                                                                             [ 85%]
tests/test_rfc8017.py ..                                                                                                                                             [ 86%]
tests/test_rfc8018.py ..                                                                                                                                             [ 87%]
tests/test_rfc8103.py .                                                                                                                                              [ 87%]
tests/test_rfc8209.py .                                                                                                                                              [ 88%]
tests/test_rfc8226.py ...                                                                                                                                            [ 89%]
tests/test_rfc8358.py .                                                                                                                                              [ 90%]
tests/test_rfc8360.py .                                                                                                                                              [ 90%]
tests/test_rfc8398.py ..                                                                                                                                             [ 91%]
tests/test_rfc8410.py .                                                                                                                                              [ 91%]
tests/test_rfc8418.py .                                                                                                                                              [ 92%]
tests/test_rfc8419.py ......                                                                                                                                         [ 95%]
tests/test_rfc8479.py ..                                                                                                                                             [ 96%]
tests/test_rfc8494.py .                                                                                                                                              [ 96%]
tests/test_rfc8520.py ..                                                                                                                                             [ 97%]
tests/test_rfc8619.py ...                                                                                                                                            [ 99%]
tests/test_rfc8649.py ..                                                                                                                                             [100%]

============================================================================= warnings summary =============================================================================
tests/test_rfc5755.py::CertificateWithClearanceTestCase::testOpenTypes
tests/test_rfc5913.py::ClearanceTestCase::testDerCodec
tests/test_rfc5913.py::ClearanceTestCase::testDerCodec
tests/test_rfc5913.py::ClearanceTestCase::testDerCodec
tests/test_rfc5913.py::ClearanceTestCase::testOpenTypes
tests/test_rfc5913.py::ClearanceTestCase::testOpenTypes
tests/test_rfc5913.py::ClearanceTestCase::testOpenTypes
tests/test_rfc5917.py::ClearanceSponsorTestCase::testOpenTypes
  /usr/lib/python3.8/site-packages/pyasn1/type/univ.py:711: DeprecationWarning: __int__ returned non-int (type SizedInteger).  The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
    return SizedInteger(value).setBitLength(len(value))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
===================================================================== 211 passed, 8 warnings in 9.69s ======================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant