diff --git a/tests/express/test_encrypt.py b/tests/express/test_encrypt.py index bb49d46599..8a0d2628d5 100644 --- a/tests/express/test_encrypt.py +++ b/tests/express/test_encrypt.py @@ -1,6 +1,9 @@ from panda3d import core +import pytest + +@pytest.mark.skipif(not hasattr(core, 'encrypt_string'), reason="Requires OpenSSL") def test_encrypt_string(): # Test encrypt and then decrypt cycle for algorithm in ('', 'bf-cbc', 'aes-256-cbc'):