/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_cleanup.py

  • Committer: Jelmer Vernooij
  • Date: 2019-07-07 17:17:45 UTC
  • mto: This revision was merged to the branch mainline in revision 7378.
  • Revision ID: jelmer@jelmer.uk-20190707171745-nj65zlvuq69f6pvb
Add copyright for contextlib code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
 
33
33
# Imported from contextlib2's test_contextlib2.py
 
34
# Copyright: Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
 
35
#   2009, 2010, 2011 Python Software Foundation
 
36
#
 
37
# PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
 
38
# --------------------------------------------
 
39
# .
 
40
# 1. This LICENSE AGREEMENT is between the Python Software Foundation
 
41
# ("PSF"), and the Individual or Organization ("Licensee") accessing and
 
42
# otherwise using this software ("Python") in source or binary form and
 
43
# its associated documentation.
 
44
# .
 
45
# 2. Subject to the terms and conditions of this License Agreement, PSF hereby
 
46
# grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
 
47
# analyze, test, perform and/or display publicly, prepare derivative works,
 
48
# distribute, and otherwise use Python alone or in any derivative version,
 
49
# provided, however, that PSF's License Agreement and PSF's notice of copyright,
 
50
# i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
51
# 2011 Python Software Foundation; All Rights Reserved" are retained in Python
 
52
# alone or in any derivative version prepared by Licensee.
 
53
# .
 
54
# 3. In the event Licensee prepares a derivative work that is based on
 
55
# or incorporates Python or any part thereof, and wants to make
 
56
# the derivative work available to others as provided herein, then
 
57
# Licensee hereby agrees to include in any such work a brief summary of
 
58
# the changes made to Python.
 
59
# .
 
60
# 4. PSF is making Python available to Licensee on an "AS IS"
 
61
# basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
 
62
# IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
 
63
# DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
 
64
# FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
 
65
# INFRINGE ANY THIRD PARTY RIGHTS.
 
66
# .
 
67
# 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
 
68
# FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
 
69
# A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
 
70
# OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
 
71
# .
 
72
# 6. This License Agreement will automatically terminate upon a material
 
73
# breach of its terms and conditions.
 
74
# .
 
75
# 7. Nothing in this License Agreement shall be deemed to create any
 
76
# relationship of agency, partnership, or joint venture between PSF and
 
77
# Licensee.  This License Agreement does not grant permission to use PSF
 
78
# trademarks or trade name in a trademark sense to endorse or promote
 
79
# products or services of Licensee, or any third party.
 
80
# .
 
81
# 8. By copying, installing or otherwise using Python, Licensee
 
82
# agrees to be bound by the terms and conditions of this License
 
83
# Agreement.
34
84
 
35
85
 
36
86
class TestExitStack(tests.TestCase):