Skip to content

Commit

Permalink
Python 2.7 removed from Travis-CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
craabreu committed Feb 3, 2019
1 parent ed9d4fd commit 20e2c8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: python
python: '3.6'
sudo: false
cache: pip
env:
Expand All @@ -10,9 +11,9 @@ env:
- TOXENV=docs
matrix:
include:
- python: '2.7'
env:
- TOXENV=py27,coveralls,codecov
# - python: '2.7'
# env:
# - TOXENV=py27,coveralls,codecov
- python: '3.5'
env:
- TOXENV=py35,coveralls,codecov
Expand Down
4 changes: 2 additions & 2 deletions src/mics/pooledsamples.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

import mics
from mics.funcs import func
from mics.utils import multimap
from mics.funcs import qualifiers
from mics.utils import multimap


class pooledsample(list):
Expand All @@ -30,7 +30,7 @@ def __init__(self, iterable=0):
# This constructor uses __iadd__ to ensure that only :class:`sample`
# objects are accepted.
super(pooledsample, self).__init__()
if iterable is not 0:
if iterable != 0:
self.__iadd__(iterable)

def __iadd__(self, other):
Expand Down

0 comments on commit 20e2c8a

Please sign in to comment.