File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ services:
33
33
"
34
34
pip install --user nose nose-cov coveralls .;
35
35
pip freeze | grep datajoint;
36
- nosetests -vsw tests --with-coverage --cover-package=datajoint;
37
36
coveralls;
37
+ nosetests -vsw tests --with-coverage --cover-package=datajoint;
38
38
# jupyter notebook;
39
39
"
40
40
# ports:
@@ -92,4 +92,4 @@ services:
92
92
- ./tests/nginx/fullchain.pem:/certs/fullchain.pem
93
93
- ./tests/nginx/privkey.pem:/certs/privkey.pem
94
94
networks :
95
- main:
95
+ main :
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ def read_int(self):
269
269
@staticmethod
270
270
def pack_int (v ):
271
271
n_bytes = v .bit_length () // 8 + 1
272
- assert n_bytes <= 0xFFFF , 'Integers are limited to 65535 bytes'
272
+ assert 0 < n_bytes <= 0xFFFF , 'Integers are limited to 65535 bytes'
273
273
return b"\x0a " + np .uint16 (n_bytes ).tobytes () + v .to_bytes (n_bytes , byteorder = 'little' , signed = True )
274
274
275
275
def read_bool (self ):
You can’t perform that action at this time.
0 commit comments