Skip to content

Commit

Permalink
Merge pull request #873 from JohnSnowLabs/investigate-testfactorytask…
Browse files Browse the repository at this point in the history
…-for-task-transition-errors

Investigate TestFactory.task for Task Transition Errors
  • Loading branch information
ArshaanNazir authored Nov 9, 2023
2 parents 22b5eb5 + a6bc116 commit b1b3563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions langtest/transform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def transform(
all_results = []
all_categories = TestFactory.test_categories()
test_names = list(test_types.keys())
if TestFactory.task is None:
TestFactory.task = task
TestFactory.task = task

if "defaults" in test_names:
test_names.pop(test_names.index("defaults"))
tests = tqdm(
Expand Down

0 comments on commit b1b3563

Please sign in to comment.