File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
from pyexcel_xls .xlsr import xldate_to_python_date
15
15
from pyexcel_xls .xlsw import XLSWriter as Writer
16
16
17
- from nose import SkipTest
18
17
from nose .tools import eq_ , raises
18
+ import pytest
19
19
20
20
IN_TRAVIS = "TRAVIS" in os .environ
21
21
@@ -90,15 +90,15 @@ def test_issue_18_encoding_override_isnt_passed(fake_open):
90
90
91
91
def test_issue_20 ():
92
92
if not IN_TRAVIS :
93
- raise SkipTest ( )
93
+ pytest . skip ( "Must be in CI for this test" )
94
94
pe .get_book (
95
95
url = "https://github.com/pyexcel/pyexcel-xls/raw/master/tests/fixtures/file_with_an_empty_sheet.xls" # noqa: E501
96
96
)
97
97
98
98
99
99
def test_issue_151 ():
100
100
if XLRD_VERSION_2_OR_ABOVE :
101
- raise SkipTest ( )
101
+ pytest . skip ( "XLRD<2 required for this test" )
102
102
s = pe .get_sheet (
103
103
file_name = get_fixture ("pyexcel_issue_151.xlsx" ),
104
104
skip_hidden_row_and_column = False ,
You can’t perform that action at this time.
0 commit comments