Python _testcapi.test_with_docstring() Examples

The following are 8 code examples of _testcapi.test_with_docstring(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module _testcapi , or try the search function .
Example #1
Source File: test_descr.py    From ironpython2 with Apache License 2.0 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #2
Source File: test_descr.py    From BinderFilter with MIT License 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #3
Source File: test_descr.py    From oss-ftp with MIT License 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #4
Source File: test_descr.py    From Fluid-Designer with GNU General Public License v3.0 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #5
Source File: test_descr.py    From ironpython3 with Apache License 2.0 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #6
Source File: test_descr.py    From gcblue with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #7
Source File: test_descr.py    From Project-New-Reign---Nemesis-Main with GNU General Public License v3.0 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring) 
Example #8
Source File: test_descr.py    From android_universal with MIT License 5 votes vote down vote up
def test_testcapi_no_segfault(self):
        # this segfaulted in 2.5b2
        try:
            import _testcapi
        except ImportError:
            pass
        else:
            class X(object):
                p = property(_testcapi.test_with_docstring)