Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1007)

Unified Diff: telemetry/telemetry/internal/testing/discoverable_classes/another_discover_dummyclass.py

Issue 2941123002: [Telemetry] Move discover to common/py_utils (Closed)
Patch Set: fix imports Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: telemetry/telemetry/internal/testing/discoverable_classes/another_discover_dummyclass.py
diff --git a/telemetry/telemetry/internal/testing/discoverable_classes/another_discover_dummyclass.py b/telemetry/telemetry/internal/testing/discoverable_classes/another_discover_dummyclass.py
deleted file mode 100644
index 88581be15e56112f168f664e3d22c77c7b3bfbfd..0000000000000000000000000000000000000000
--- a/telemetry/telemetry/internal/testing/discoverable_classes/another_discover_dummyclass.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""More dummy exception subclasses used by core/discover.py's unit tests."""
-
-# Import class instead of module explicitly so that inspect.getmembers() returns
-# two Exception subclasses in this current file.
-# Suppress complaints about unable to import class. The directory path is
-# added at runtime by telemetry test runner.
-#pylint: disable=import-error
-from telemetry.internal.testing.discoverable_classes import discover_dummyclass
-
-
-class _PrivateDummyException(discover_dummyclass.DummyException):
- def __init__(self):
- super(_PrivateDummyException, self).__init__()
-
-
-class DummyExceptionImpl1(_PrivateDummyException):
- def __init__(self):
- super(DummyExceptionImpl1, self).__init__()
-
-
-class DummyExceptionImpl2(_PrivateDummyException):
- def __init__(self):
- super(DummyExceptionImpl2, self).__init__()
-
-
-class DummyExceptionWithParameterImpl1(_PrivateDummyException):
- def __init__(self, parameter):
- super(DummyExceptionWithParameterImpl1, self).__init__()
- del parameter

Powered by Google App Engine
This is Rietveld 408576698