Skip to content

Commit

Permalink
Merge pull request #1759 from RasaHQ/evaluation_deprecation_fix
Browse files Browse the repository at this point in the history
fix imports
  • Loading branch information
tmbo committed Mar 6, 2019
2 parents 894f333 + 737600f commit 66e12d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa_nlu/evaluate.py
@@ -1,10 +1,10 @@
import logging

import rasa_nlu.test as test
from rasa_nlu.test import main

logger = logging.getLogger(__name__)

if __name__ == '__main__': # pragma: no cover
logger.warning("Calling `rasa_nlu.evaluate` is deprecated. "
"Please use `rasa_nlu.test` instead.")
test.main()
main()

0 comments on commit 66e12d8

Please sign in to comment.