OLD | NEW |
1 """Code coverage measurement for Python. | 1 """Code coverage measurement for Python. |
2 | 2 |
3 Ned Batchelder | 3 Ned Batchelder |
4 http://nedbatchelder.com/code/coverage | 4 http://nedbatchelder.com/code/coverage |
5 | 5 |
6 """ | 6 """ |
7 | 7 |
8 from coverage.version import __version__, __url__ | 8 from coverage.version import __version__, __url__ |
9 | 9 |
10 from coverage.control import coverage, process_startup | 10 from coverage.control import coverage, process_startup |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 import sys | 85 import sys |
86 try: | 86 try: |
87 del sys.modules['coverage.coverage'] | 87 del sys.modules['coverage.coverage'] |
88 except KeyError: | 88 except KeyError: |
89 pass | 89 pass |
90 | 90 |
91 | 91 |
92 # COPYRIGHT AND LICENSE | 92 # COPYRIGHT AND LICENSE |
93 # | 93 # |
94 # Copyright 2001 Gareth Rees. All rights reserved. | 94 # Copyright 2001 Gareth Rees. All rights reserved. |
95 # Copyright 2004-2012 Ned Batchelder. All rights reserved. | 95 # Copyright 2004-2013 Ned Batchelder. All rights reserved. |
96 # | 96 # |
97 # Redistribution and use in source and binary forms, with or without | 97 # Redistribution and use in source and binary forms, with or without |
98 # modification, are permitted provided that the following conditions are | 98 # modification, are permitted provided that the following conditions are |
99 # met: | 99 # met: |
100 # | 100 # |
101 # 1. Redistributions of source code must retain the above copyright | 101 # 1. Redistributions of source code must retain the above copyright |
102 # notice, this list of conditions and the following disclaimer. | 102 # notice, this list of conditions and the following disclaimer. |
103 # | 103 # |
104 # 2. Redistributions in binary form must reproduce the above copyright | 104 # 2. Redistributions in binary form must reproduce the above copyright |
105 # notice, this list of conditions and the following disclaimer in the | 105 # notice, this list of conditions and the following disclaimer in the |
106 # documentation and/or other materials provided with the | 106 # documentation and/or other materials provided with the |
107 # distribution. | 107 # distribution. |
108 # | 108 # |
109 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 109 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
110 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 110 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
111 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | 111 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
112 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 112 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
113 # HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | 113 # HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
114 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | 114 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
115 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS | 115 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS |
116 # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 116 # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
117 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 117 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
118 # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | 118 # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
119 # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 119 # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
120 # DAMAGE. | 120 # DAMAGE. |
OLD | NEW |