Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove modules included in Python 3 from dev-requirements.txt #1369

Merged
merged 2 commits into from
Aug 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
coveralls
factory-boy>=2.9,<2.10
flake8
mock
nose
pip
twine
twython
sphinx>=1.6,<1.7
sphinx_rtd_theme
wheel
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,5 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
tests_require=['mock']
test_suite='tests'
)
2 changes: 1 addition & 1 deletion tests/input_adapter_tests/test_gitter_input_adapter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import TestCase
from mock import Mock
from unittest.mock import Mock
from chatterbot.conversation import Statement
from chatterbot.input import gitter
from chatterbot.input import Gitter
Expand Down
2 changes: 1 addition & 1 deletion tests/input_adapter_tests/test_microsoft_input_adapter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import TestCase
from mock import Mock
from unittest.mock import Mock
from chatterbot.conversation import Statement
from chatterbot.input import Microsoft
from chatterbot.input import microsoft
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mock import MagicMock
from unittest.mock import MagicMock
from chatterbot.logic import BestMatch
from chatterbot.conversation import Statement, Response
from tests.base_case import ChatBotTestCase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mock import MagicMock
from unittest.mock import MagicMock
from chatterbot.logic import BestMatch
from chatterbot.conversation import Statement, Response
from tests.base_case import ChatBotTestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/logic_adapter_tests/test_best_match.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mock import MagicMock
from unittest.mock import MagicMock
from chatterbot.logic import BestMatch
from chatterbot.conversation import Statement
from tests.base_case import ChatBotTestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/logic_adapter_tests/test_low_confidence_adapter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mock import MagicMock
from unittest.mock import MagicMock
from chatterbot.logic import LowConfidenceAdapter
from chatterbot.conversation import Statement, Response
from tests.base_case import ChatBotTestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/output_adapter_tests/test_gitter_output_adapter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import TestCase
from mock import Mock
from unittest.mock import Mock
from chatterbot.conversation import Statement
from chatterbot.input import gitter
from chatterbot.output import Gitter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import TestCase
from mock import Mock
from unittest.mock import Mock
from chatterbot.conversation import Statement
from chatterbot.output import Microsoft
from chatterbot.output import microsoft
Expand Down
2 changes: 1 addition & 1 deletion tests/training_tests/test_twitter_trainer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from tests.base_case import ChatBotTestCase
from mock import Mock, MagicMock
from unittest.mock import Mock, MagicMock
from chatterbot.trainers import TwitterTrainer
import os
import json
Expand Down
2 changes: 1 addition & 1 deletion tests/training_tests/test_ubuntu_corpus_training.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from unittest.mock import Mock
from io import BytesIO
import unittest
import tarfile
import os
from mock import Mock

from tests.base_case import ChatBotTestCase
from chatterbot.trainers import UbuntuCorpusTrainer
Expand Down