Skip to content

Commit 61e8372

Browse files
committed
Merge test robustness fix.
--HG-- branch : 0.6.x
2 parents f0f8bc2 + 9337694 commit 61e8372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/tests/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_replicate_continuous(self):
7575
b = self.server.create('python-tests-a')
7676
result = self.server.replicate('python-tests', 'python-tests-a', continuous=True)
7777
self.assertEquals(result['ok'], True)
78-
version = tuple(int(i) for i in self.server.version.split('.'))
78+
version = tuple(int(i) for i in self.server.version.split('.')[:2])
7979
if version >= (0, 10):
8080
self.assertTrue('_local_id' in result)
8181

0 commit comments

Comments
 (0)