Skip to content

Commit 78456e7

Browse files
authored
Merge pull request #56 from laymonage/master
Add Travis testing on Python 3.5
2 parents 2507e28 + c42c422 commit 78456e7

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
language: python
22
python:
33
- "2.7"
4+
- "3.5"
45
install:
56
- pip install -r requirements.txt
7+
- pip install pyflakes
68
- pip install python-coveralls
79
- pip install coverage
810
- pip install nose
911
script:
1012
- python setup.py install
13+
- pyflakes setup.py
1114
- nosetests --with-coverage tests
1215
after_success:
1316
- coveralls

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
asyncoro==3.5
21
requests==2.8.1
3-
wsgiref==0.1.2
42
xmljson==0.1.6
53

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import re
2-
import uuid
3-
41
try:
52
from setuptools import setup
63
except ImportError:
@@ -25,9 +22,7 @@
2522
],
2623
keywords="Twitter Loklak Anonymous API",
2724
install_requires=[
28-
"asyncoro==3.5",
2925
"requests==2.8.1",
30-
"wsgiref==0.1.2",
3126
"xmljson==0.1.6"
3227
],
3328
zip_safe=False,

tests/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def test_get_map(self):
5656
"""Tests the get_map method"""
5757
map_file = os.path.join(os.getcwd(), 'markdown.png')
5858
data = self.loklak.get_map(17.582729, 79.118320)
59-
self.assertTrue(data[:8] == '\211PNG\r\n\032\n' and
60-
(data[12:16] == 'IHDR'))
59+
self.assertTrue(data[:8] == b'\211PNG\r\n\032\n' and
60+
data[12:16] == b'IHDR')
6161
with open(map_file, 'wb') as file_handle:
6262
file_handle.write(data)
6363
with open(map_file, 'rb') as file_handle:

0 commit comments

Comments
 (0)