| 1 | | #from Shapely http://trac.gispython.org/projects/PCL/browser/Shapely/trunk/tests/test_doctests.py |
| | 1 | """ |
| | 2 | /****************************************************************************** |
| | 3 | * $Id$ |
| | 4 | * |
| | 5 | * Project: libLAS - http://liblas.org - A BSD library for LAS format data. |
| | 6 | * Purpose: A script to marshal .txt files into Python doctests |
| | 7 | * Author: Sean C. Gillies, sgillies@frii.com |
| | 8 | * |
| | 9 | ****************************************************************************** |
| | 10 | * |
| | 11 | * This file is from the Shapely project: |
| | 12 | * http://trac.gispython.org/projects/PCL/browser/Shapely/trunk/tests/test_doctests.py |
| | 13 | * |
| | 14 | * Copyright (c) 2007, Sean C. Gillies |
| | 15 | * All rights reserved. |
| | 16 | * |
| | 17 | * Redistribution and use in source and binary forms, with or without |
| | 18 | * modification, are permitted provided that the following conditions are met: |
| | 19 | * |
| | 20 | * * Redistributions of source code must retain the above copyright |
| | 21 | * notice, this list of conditions and the following disclaimer. |
| | 22 | * * Redistributions in binary form must reproduce the above copyright |
| | 23 | * notice, this list of conditions and the following disclaimer in the |
| | 24 | * documentation and/or other materials provided with the distribution. |
| | 25 | * * Neither the name of Sean C. Gillies nor the names of |
| | 26 | * its contributors may be used to endorse or promote products derived from |
| | 27 | * this software without specific prior written permission. |
| | 28 | * |
| | 29 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| | 30 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| | 31 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| | 32 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| | 33 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| | 34 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| | 35 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| | 36 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| | 37 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| | 38 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| | 39 | * POSSIBILITY OF SUCH DAMAGE. |
| | 40 | **** |
| | 41 | """ |