Skip to content

Commit 7331111

Browse files
committed
Remove unused testresources import and related load_tests function from unittestadapter
1 parent 437afb5 commit 7331111

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

build/test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ flask
1212
fastapi
1313
uvicorn
1414
django
15-
testresources
1615
testscenarios
1716

1817
# Integrated TensorBoard tests
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
import os
5-
6-
import testresources
7-
from testscenarios import generate_scenarios
8-
9-
def load_tests(loader, tests, pattern):
10-
this_dir = os.path.dirname(__file__)
11-
mytests = loader.discover(start_dir=this_dir, pattern=pattern)
12-
result = testresources.OptimisingTestSuite()
13-
result.addTests(generate_scenarios(mytests))
14-
result.addTests(generate_scenarios(tests))
15-
return result

0 commit comments

Comments
 (0)