Skip to content

Commit

Permalink
update duplicate.py ivy-llc#11790
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeydrygin committed Mar 13, 2023
1 parent 286d50f commit 69d01e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion duplicate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import importlib
import os
import glob
import sys


def get_all_functions_from_directory(root_dir, startswith="test"):
Expand Down Expand Up @@ -40,4 +41,4 @@ def check_duplicate():
common_set = check_duplicate()
if len(common_set) != 0:
print("This function already exists in the functional API.")
exit(1)
sys.exit(1)

0 comments on commit 69d01e1

Please sign in to comment.