Skip to content

Commit

Permalink
Added auto sub module
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCappelletti94 committed Mar 9, 2020
1 parent c127b5c commit 440f6a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions silence_tensorflow/auto.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .silence_tensorflow import silence_tensorflow

silence_tensorflow()
5 changes: 4 additions & 1 deletion tests/test_silence_tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

def test_silence_tensorflow():
"""Check that everything runs."""
silence_tensorflow()
silence_tensorflow()

def test_auto_silence():
import silence_tensorflow.auto

0 comments on commit 440f6a6

Please sign in to comment.