aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509_ext.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-03-21 09:24:12 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-03-21 09:24:12 -0400
commita783c57b7fa71a7cc6e354f37f79cc7239fb8bd7 (patch)
treec78c71feac23089219cd554791857e45a875edc9 /tests/test_x509_ext.py
parentfd2b27aa063c31258482c9b432c80c98b5a93f07 (diff)
downloadcryptography-a783c57b7fa71a7cc6e354f37f79cc7239fb8bd7.tar.gz
cryptography-a783c57b7fa71a7cc6e354f37f79cc7239fb8bd7.tar.bz2
cryptography-a783c57b7fa71a7cc6e354f37f79cc7239fb8bd7.zip
Remove API deprecated in 1.6, clean up the legacy deprecations (#3468)
* Remove API deprecated in 1.6, clean up the legacy deprecations * flake8, unused import
Diffstat (limited to 'tests/test_x509_ext.py')
-rw-r--r--tests/test_x509_ext.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py
index 7104121d..8210b058 100644
--- a/tests/test_x509_ext.py
+++ b/tests/test_x509_ext.py
@@ -3003,17 +3003,6 @@ class TestDistributionPoint(object):
with pytest.raises(ValueError):
x509.DistributionPoint("data", "notname", None, None)
- def test_relative_name_name_value_deprecated(self):
- with pytest.deprecated_call():
- x509.DistributionPoint(
- None,
- x509.Name([
- x509.NameAttribute(NameOID.COMMON_NAME, u"myCN")
- ]),
- None,
- None
- )
-
def test_crl_issuer_not_general_names(self):
with pytest.raises(TypeError):
x509.DistributionPoint(None, None, None, ["notgn"])