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
3 # found in the LICENSE file.
5 """More dummy exception subclasses used by core/discover.py's unit tests."""
7 # Import class instead of module explicitly so that inspect.getmembers() returns
8 # two Exception subclasses in this current file.
9 # Suppress complaints about unable to import class. The directory path is
10 # added at runtime by telemetry test runner.
11 #pylint: disable=F0401
12 from discoverable_classes
.discover_dummyclass
import DummyException
15 class _PrivateDummyException(DummyException
):
19 class DummyExceptionImpl1(_PrivateDummyException
):
23 class DummyExceptionImpl2(_PrivateDummyException
):