summaryrefslogtreecommitdiff
path: root/tests/test_help.py
blob: dc8307969de3d4c90222f24cd7d1dd8c574d4a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- encoding: utf-8

import sys

import pytest

from requests.help import info


@pytest.mark.skipif(sys.version_info[:2] != (2,6), reason="Only run on Python 2.6")
def test_system_ssl_py26():
    """OPENSSL_VERSION_NUMBER isn't provided in Python 2.6, verify we don't
    blow up in this case.
    """
    assert info()['system_ssl'] == {'version': ''}