blob: 5f87cea38b74a27dd4c13f3994267326ad6c64cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vi:ts=4:et
import pycurl
import unittest
from . import util
class InfoConstantsTest(unittest.TestCase):
# CURLINFO_CONDITION_UNMET was introduced in libcurl-7.19.4
@util.min_libcurl(7, 19, 4)
def test_condition_unmet(self):
curl = pycurl.Curl()
assert hasattr(curl, 'CONDITION_UNMET')
curl.close()
|