Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 47b8a5a

Browse files
committed
Corrected syntax to eliminate warning in 3.8
1 parent 058b967 commit 47b8a5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ before_script:
2929
# command to run tests
3030
script:
3131
- pylint ./src/cloudant
32-
- nosetests -A 'not db or ((db is "couch" or "couch" in db) and (not couchapi or couchapi <='${COUCHDB_VERSION:0:1}'))' -w ./tests/unit
32+
- nosetests -A 'not db or ((db == "couch" or "couch" in db) and (not couchapi or couchapi <='${COUCHDB_VERSION:0:1}'))' -w ./tests/unit
3333

3434
notifications:
3535
email: false

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def setupPythonAndTest(pythonVersion, testSuite) {
4040
pip install -r test-requirements.txt
4141
${'simplejson'.equals(testSuite) ? 'pip install simplejson' : ''}
4242
pylint ./src/cloudant
43-
nosetests -A 'not db or (db is "cloudant" or "cloudant" in db)' -w ./tests/unit --with-xunit
43+
nosetests -A 'not db or (db == "cloudant" or "cloudant" in db)' -w ./tests/unit --with-xunit
4444
"""
4545
} finally {
4646
// Load the test results

0 commit comments

Comments
 (0)