Skip to content

Commit

Permalink
🔖 add types
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Dec 12, 2023
1 parent 6525889 commit 51744e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/general_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
from codeinterpreterapi import CodeInterpreterSession, File


def test_codebox():
def test_codebox() -> None:
session = CodeInterpreterSession()
assert run_sync(session), "Failed to run sync CodeInterpreterSession remotely"
assert asyncio.run(
run_async(session)
), "Failed to run async CodeInterpreterSession remotely"


def test_localbox():
def test_localbox() -> None:
session = CodeInterpreterSession(local=True)
assert run_sync(session), "Failed to run sync CodeInterpreterSession locally"
assert asyncio.run(
Expand Down

0 comments on commit 51744e3

Please sign in to comment.