2035N/A# The contents of this file are subject to the terms of the 2035N/A# Common Development and Distribution License (the "License"). 2035N/A# You may not use this file except in compliance with the License. 2035N/A# See the License for the specific language governing permissions 2035N/A# and limitations under the License. 2035N/A# When distributing Covered Code, include this CDDL HEADER in each 2035N/A# If applicable, add the following below this CDDL HEADER, with the 2035N/A# fields enclosed by brackets "[]" replaced with your own identifying 2035N/A# information: Portions Copyright [yyyy] [name of copyright owner] 6021N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. 2899N/A# This module has syntax issues and thus is not Python 3 ready. 2035N/A# Needed to create a unique temporary directory. 2035N/A# Two tests are known to fail. These failures are not critical. 2035N/A# One fails because it says the library does not throw a value error on a 2035N/A# bad URL. This one fails, as the bad url it is trying is an edge case: 2035N/A# ldap:///????? and not that important. The OpenLDAP library doesn't 2035N/A# have the necessary code to check for that case and error out. We (or 2035N/A# someone from the python-ldap team) would have to log an OpenLDAP bug, 2035N/A# propose a fix to the code, see it integrated, wait for a release, and 2035N/A# integrate the new release into Userland. 2035N/A# The other failure is for a test case that has a comment before the test case: 2035N/A# # these two constants are pointless? XXX 2035N/A# The answer being yes. And the constants are not defined in the latest