updates based on review feedback
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py
index 711b6b7..0e5cab5 100644
--- a/tests/test_x509_ext.py
+++ b/tests/test_x509_ext.py
@@ -992,7 +992,7 @@
 
 class TestAccessDescription(object):
     def test_invalid_access_method(self):
-        with pytest.raises(TypeError):
+        with pytest.raises(ValueError):
             x509.AccessDescription("notanoid", x509.DNSName(u"test"))
 
     def test_invalid_access_location(self):