Skip to content

Commit 93f114b

Browse files
committed
Fixes pytest version for 3.5 on Travis-CI and maxsplit error in serializer
1 parent b8a495f commit 93f114b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Flask-SQLAlchemy==2.0
88
passlib==1.6.5
99
pathtools==0.1.2
1010
SQLAlchemy-Utils==0.30.16
11+
pytest==2.7.3

sqlalchemy_jsonapi/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def _parse_include(self, include):
434434
ret = {}
435435
for item in include:
436436
if '.' in item:
437-
local, remote = item.split('.', maxsplit=1)
437+
local, remote = item.split('.', 1)
438438
else:
439439
local = item
440440
remote = None

0 commit comments

Comments
 (0)