Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #56 from cta-sst-1m/work_on_py3.7
Browse files Browse the repository at this point in the history
start using py3.7 as well
  • Loading branch information
Etienne12345 authored Oct 10, 2018
2 parents eec3d82 + 48ae44b commit 416d2ca
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ matrix:
env:
- PYTHON_VERSION=3.6
- MINICONDA_URL=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- os: linux
python: 3.7
env:
- PYTHON_VERSION=3.7
- MINICONDA_URL=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- os: osx
python: 3.5
env:
Expand Down
2 changes: 1 addition & 1 deletion protozfits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from . import rawzfits
# If you would like to learn more about the contents of the compiled
# rawzfits extension. Please have a look into protozfits/rawzfits.pyx
from google.protobuf.pyext.cpp_message import GeneratedProtocolMessageType
from google.protobuf.reflection import GeneratedProtocolMessageType
from .CoreMessages_pb2 import AnyArray
from .any_array_to_numpy import any_array_to_numpy

Expand Down
Binary file modified protozfits/rawzfits.cpython-35m-x86_64-linux-gnu.so
Binary file not shown.
Binary file modified protozfits/rawzfits.cpython-36m-x86_64-linux-gnu.so
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion protozfits/tests/test_File.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_File_getitem_with_iterable():

def test_File_getitem_with_range():
f = File(example_file_path)
interesting_event_ids = range(10, 1, -2)
interesting_event_ids = range(9, 1, -2)
expected_event_numbers = [FIRST_EVENT_NUMBER + i for i in interesting_event_ids]
for i, event in enumerate(f.Events[interesting_event_ids]):
assert event.eventNumber == expected_event_numbers[i]

0 comments on commit 416d2ca

Please sign in to comment.