| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Another dummy exception subclasses used by core/discover.py's unit tests.""" | 5 """More dummy exception subclasses used by core/discover.py's unit tests.""" |
| 6 | 6 |
| 7 # Import class instead of module explicitly so that inspect.getmembers() returns | 7 # Import class instead of module explicitly so that inspect.getmembers() returns |
| 8 # two Exception subclasses in this current file. | 8 # two Exception subclasses in this current file. |
| 9 # Suppress complaints about unable to import class. The directory path is | 9 # Suppress complaints about unable to import class. The directory path is |
| 10 # added at runtime by telemetry test runner. | 10 # added at runtime by telemetry test runner. |
| 11 #pylint: disable=F0401 | 11 #pylint: disable=F0401 |
| 12 from discoverable_classes.discover_dummyclass import DummyException | 12 from discoverable_classes.discover_dummyclass import DummyException |
| 13 | 13 |
| 14 | 14 |
| 15 class AnotherDummyException(DummyException): | 15 class _PrivateDummyException(DummyException): |
| 16 pass | 16 pass |
| 17 |
| 18 |
| 19 class DummyExceptionImpl1(_PrivateDummyException): |
| 20 pass |
| 21 |
| 22 |
| 23 class DummyExceptionImpl2(_PrivateDummyException): |
| 24 pass |
| OLD | NEW |