Skip to content

Commit

Permalink
only test for stable output
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao committed Nov 28, 2023
1 parent 7b8b727 commit c4a67e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pytorch/cmp_output.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import glob

output_files = glob.glob("depyf_output/*/*.py")
output_files = glob.glob("depyf_output/*/__*.py")
output_files.sort()

expected_files = glob.glob("tests/depyf_output/*/*.py")
expected_files = glob.glob("tests/depyf_output/*/__*.py")
expected_files.sort()

assert len(output_files) == len(expected_files), f"len(output_files)={len(output_files)}, len(expected_files)={len(expected_files)}"
Expand Down

0 comments on commit c4a67e9

Please sign in to comment.