Skip to content

Commit

Permalink
Remove jitclass from __init__ __all__.
Browse files Browse the repository at this point in the history
As title.

Fixes #6583
  • Loading branch information
stuartarchibald committed Dec 17, 2020
1 parent 0bac18a commit 4976953
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion numba/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
njit
stencil
jit_module
jitclass
typeof
prange
gdb
Expand Down
5 changes: 5 additions & 0 deletions numba/tests/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ def test_no_accidental_warnings(self):
flags = ["-Werror",]
self.run_in_subproc(code, flags)

def test_import_star(self):
# checks that "from numba import *" works.
code = "from numba import *"
self.run_in_subproc(code)


if __name__ == '__main__':
unittest.main()

0 comments on commit 4976953

Please sign in to comment.