summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-11-08 13:05:37 +0100
committerDamjan Marion <dmarion@me.com>2018-11-08 13:25:46 +0000
commit005a3331809a4d071bd2a44895fb1a9a800a09f5 (patch)
tree1c478dd7e6365f8817ea0178f737f3e9f644d23a /test
parent7d6afb3c94613f6537f20087674042e8bf440a89 (diff)
make test: remove unnecessary check
Change-Id: I90ee144a5c5a2e753e36d45c0ce98c9a8b477f15 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/discover_tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/discover_tests.py b/test/discover_tests.py
index 99016e2845e..fbd2d9c7e59 100755
--- a/test/discover_tests.py
+++ b/test/discover_tests.py
@@ -22,8 +22,6 @@ def discover_tests(directory, callback):
if not _f.startswith("test_") or not _f.endswith(".py"):
continue
name = "".join(f.split("/")[-1].split(".")[:-1])
- if name in sys.modules:
- raise Exception("Duplicate test module `%s' found!" % name)
module = importlib.import_module(name)
for name, cls in module.__dict__.items():
if not isinstance(cls, type):