Skip to content

Commit

Permalink
Update test_copy to omit testing when oai config is not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinganc committed Nov 19, 2024
1 parent a0382d8 commit 58103bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit_tests/test_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ def fun(x):

x = trace.node('x', trainable=True)
copy.deepcopy(x)
optimizer = OptoPrime([x])
optimizer2 = copy.deepcopy(optimizer)


try:
optimizer = OptoPrime([x])
optimizer2 = copy.deepcopy(optimizer)

llm = AutoGenLLM()
copy.deepcopy(llm)
except FileNotFoundError as e:
Expand Down

0 comments on commit 58103bb

Please sign in to comment.