Skip to content

Commit

Permalink
🔧 Fix small test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jejon committed Jun 13, 2024
1 parent 838b00a commit 0270b8a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ def test_all_annotations_to_landmarks():
class_names = ["class1", "class2", "class3"]

# Write the test cases to temporary files
paths = list(get_paths(tmpdir, "json"))
sorted(paths)
paths = sorted(list(get_paths(tmpdir, "json")))

# Call the function with the test cases
landmarks = all_annotations_to_landmarks(paths, class_names)
Expand All @@ -166,8 +165,7 @@ def test_all_annotations_to_landmarks_numpy():
class_names = ["class1", "class2", "class3"]

# Write the test cases to temporary files
paths = list(get_paths(tmpdir, "json"))
sorted(paths)
paths = sorted(list(get_paths(tmpdir, "json")))

# Call the function with the test cases
landmarks = all_annotations_to_landmarks_numpy(paths, class_names)
Expand Down

0 comments on commit 0270b8a

Please sign in to comment.