Skip to content

Commit

Permalink
Clean-up and remove py3.10 from travis until it works
Browse files Browse the repository at this point in the history
  • Loading branch information
rsheftel committed Jul 4, 2022
1 parent d5a77d5 commit d6c8449
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
language: python
matrix:
include:
- python: "3.8"
- python: "3.9"
- python: "3.10"
python:
- "3.8"
- "3.9"

install:
- "pip install blist"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],

# What does your project relate to?
Expand Down
6 changes: 3 additions & 3 deletions tests/test_dropin/test_dataframe_blist.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def check_blist():
assert isinstance(df.index, blist)
assert isinstance(df.columns, blist)
assert isinstance(df.data, blist)
assert all([isinstance(df.data[x], blist) for x in range(len(df.columns))])
assert all(isinstance(df.data[x], blist) for x in range(len(df.columns)))

df = rc.DataFrame(dropin=blist)
assert isinstance(df, rc.DataFrame)
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_data_blist():
actual = rc.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]}, index=['a', 'b', 'c'], columns=['b', 'a'],
dropin=blist)
assert actual.data == [[4, 5, 6], [1, 2, 3]]
assert all([isinstance(actual.data[x], blist) for x in range(len(actual.columns))])
assert all(isinstance(actual.data[x], blist) for x in range(len(actual.columns)))


def test_default_empty_init():
Expand All @@ -174,7 +174,7 @@ def test_default_empty_init():
assert isinstance(actual.index, blist)
assert isinstance(actual.columns, blist)
assert isinstance(actual.data, blist)
assert all([isinstance(actual.data[x], blist) for x in range(len(actual.columns))])
assert all(isinstance(actual.data[x], blist) for x in range(len(actual.columns)))


def test_sort_index():
Expand Down

0 comments on commit d6c8449

Please sign in to comment.