OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 """A dummy exception subclass used by core/discover.py's unit tests.""" | 5 """A dummy exception subclass used by core/discover.py's unit tests.""" |
6 from telemetry.internal.testing.discoverable_classes import discover_dummyclass | 6 from discoverable_classes import discover_dummyclass |
7 | 7 |
8 class DummyExceptionWithParameterImpl2(discover_dummyclass.DummyException): | 8 class DummyExceptionWithParameterImpl2(discover_dummyclass.DummyException): |
9 def __init__(self, parameter1, parameter2): | 9 def __init__(self, parameter1, parameter2): |
10 super(DummyExceptionWithParameterImpl2, self).__init__() | 10 super(DummyExceptionWithParameterImpl2, self).__init__() |
11 del parameter1, parameter2 | 11 del parameter1, parameter2 |
OLD | NEW |