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

1.4 Test failure TestRSACertificate.test_cert_serial_warning #3034

Closed
lfam opened this issue Jul 2, 2016 · 5 comments · Fixed by #3035
Closed

1.4 Test failure TestRSACertificate.test_cert_serial_warning #3034

lfam opened this issue Jul 2, 2016 · 5 comments · Fixed by #3035

Comments

@lfam
Copy link

lfam commented Jul 2, 2016

While testing an upgrade of the GNU Guix python-cryptography package from 1.3.2 to 1.4, I encountered the following failure of TestRSACertificate.test_cert_serial_warning[backend0].

=================================== FAILURES ===================================
____________ TestRSACertificate.test_cert_serial_warning[backend0] _____________

self = <tests.test_x509.TestRSACertificate object at 0x7fffe0fa7978>
backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7ffff3020278>

    def test_cert_serial_warning(self, backend):
        cert = _load_cert(
            os.path.join("x509", "PKITS_data", "certs", "GoodCACert.crt"),
            x509.load_der_x509_certificate,
            backend
        )

        with warnings.catch_warnings():
            warnings.simplefilter("always", utils.DeprecatedIn10)
>           with pytest.deprecated_call():
E           TypeError: deprecated_call() missing 1 required positional argument: 'func'

tests/test_x509.py:516: TypeError
============ 1 failed, 83123 passed, 3222 skipped in 164.91 seconds ============

The dependency graph is using Python 3.4.3 and Hypothesis 3.1.0. Please let me know what other information I can provide to help debug this failure.

@lfam lfam changed the title 1.4 Test failure 1.4 Test failure TestRSACertificate.test_cert_serial_warning Jul 2, 2016
@alex
Copy link
Member

alex commented Jul 2, 2016

What version of py.test are you using

@lfam
Copy link
Author

lfam commented Jul 2, 2016

I'm using 2.7.3.

@alex
Copy link
Member

alex commented Jul 2, 2016

Try a newer pytest

On Fri, Jul 1, 2016 at 8:29 PM, lfam notifications@github.com wrote:

I'm using 2.7.3.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3034 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAADBKqGx-sq76w8Qu8CmG0MJbYeO3W9ks5qRbEDgaJpZM4JDjvP
.

"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6

alex added a commit to alex/cryptography that referenced this issue Jul 2, 2016
@lfam
Copy link
Author

lfam commented Jul 2, 2016

Okay, thank you for clarifying the requirement. I will re-open if this problem persists with the newer version of pytest.

@lfam lfam closed this as completed Jul 2, 2016
@alex
Copy link
Member

alex commented Jul 2, 2016

I believe 2.9.0 is the minimum version.

On Fri, Jul 1, 2016 at 8:39 PM, lfam notifications@github.com wrote:

Okay, thank you for clarifying the requirement. I will re-open if this
problem persists with the newer version of pytest.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3034 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAADBD2BKBApRFjt6pVcnQst9hLNQkAjks5qRbM-gaJpZM4JDjvP
.

"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants