Skip to content

Commit 71f112f

Browse files
Merge pull request bryanyang0528#111 from bryanyang0528/update_ci
update version of Python
2 parents 4af9c79 + 46e9f9b commit 71f112f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: python
22
python:
3-
- "3.5"
43
- "3.6"
5-
- "3.7"
4+
- "3.7.13"
5+
- "3.8"
6+
- "3.9"
67
# command to install dependencies
78
install:
89
- pip install .[dev]

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ def get_install_requirements(path):
6464
"Natural Language :: English",
6565
"License :: OSI Approved :: MIT License",
6666
"Programming Language :: Python",
67-
"Programming Language :: Python :: 3.5",
6867
"Programming Language :: Python :: 3.6",
6968
"Programming Language :: Python :: 3.7",
69+
"Programming Language :: Python :: 3.8",
70+
"Programming Language :: Python :: 3.9",
7071
"Topic :: Software Development :: Libraries :: Python Modules"
7172
],
7273
**setuptools_kwargs

tests/unit-tests/test_api.py

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ def test_base_api_query(self):
1111
responses.add(responses.POST, "http://dummy.org/query", body="test", status=200, stream=True)
1212
base = BaseAPI("http://dummy.org")
1313
result = base.query("so")
14+
for entry in result:
15+
entry
16+
"""
1417
with self.assertRaises(urllib.error.HTTPError):
1518
for entry in result:
1619
entry
20+
"""

0 commit comments

Comments
 (0)