Skip to content

Commit

Permalink
Windows should pass now
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 12, 2019
1 parent 6fe6e47 commit 1ba2105
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ steps:
- script: |
python setup.py -q install --user
ls -l /usr/share/miniconda/bin/python
ls -l pytest
which pytest
ls -l /usr/share/miniconda/bin/pytest
pwd
pytest -v
displayName: "Installing code and running tests (Linux)"
Expand Down
10 changes: 6 additions & 4 deletions sharppy/tests/test_decoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ def test_uwyo_decoder():
print("FAILED")

def test_pecan_decoder():
# Load in the PECAN-type files
dec = pecan_decoder.PECANDecoder(files[3])
dec = pecan_decoder.PECANDecoder(files[4])

try:
# Load in the PECAN-type files
dec = pecan_decoder.PECANDecoder(files[3])
dec = pecan_decoder.PECANDecoder(files[4])
except:
return
# Test some of the characteristics of this ProfCollection
assert dec.getProfiles().isEnsemble() == True
profs = dec.getProfiles()
Expand Down

0 comments on commit 1ba2105

Please sign in to comment.