def test_unicode_path_layer(self):
    path = self.dir
    layer = 'coutwildrnp'
    if (sys.version_info < (3,)):
        path = path.decode('utf-8')
        layer = layer.decode('utf-8')
    with fiona.open(path, layer=layer) as c:
        assert (len(c) == 67)
def test_unicode_path_layer(self):
    path = self.dir
    layer = 'coutwildrnp'
    if (sys.version_info < (3,)):
        path = path.decode('utf-8')
        layer = layer.decode('utf-8')
    with fiona.open(path, layer=layer) as c:
        assert (len(c) == 67)