Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammed Yasin <[email protected]>
  • Loading branch information
Y-T-G authored Jan 16, 2025
1 parent 298a5e6 commit 954a48e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions autoimport/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import builtins
import importlib
import sys
import time
import types


Expand Down Expand Up @@ -99,7 +98,9 @@ def __exit__(self, *args):
self._globals[parent] = sys.modules.get(parent, LazyLoader(parent))

if __name__ == "__main__":
# Context manager tests -----------------------------
import time

# Context manager
with lazy():
t0 = time.perf_counter()
import numpy as np
Expand Down

0 comments on commit 954a48e

Please sign in to comment.