Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

        def _skip_under_Py3k(test_method): #pragma NO COVER
    try:
        unicode
    except NameError: # skip this test
        def _dummy(*args):
            pass
        return _dummy
    else:
        return test_method
        


src/b/t/BTrees-4.0.8/BTrees/tests/testBTreesUnicode.py   BTrees(Download)
 
import unittest
from .common import _skip_under_Py3k
 
# When an OOBtree contains unicode strings as keys,