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:
3333 "
3434 pip install --user nose nose-cov coveralls .;
3535 pip freeze | grep datajoint;
36- nosetests -vsw tests --with-coverage --cover-package=datajoint;
3736 coveralls;
37+ nosetests -vsw tests --with-coverage --cover-package=datajoint;
3838 # jupyter notebook;
3939 "
4040 # ports:
@@ -92,4 +92,4 @@ services:
9292 - ./tests/nginx/fullchain.pem:/certs/fullchain.pem
9393 - ./tests/nginx/privkey.pem:/certs/privkey.pem
9494networks :
95- main:
95+ main :
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ def read_int(self):
269269 @staticmethod
270270 def pack_int (v ):
271271 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'
273273 return b"\x0a " + np .uint16 (n_bytes ).tobytes () + v .to_bytes (n_bytes , byteorder = 'little' , signed = True )
274274
275275 def read_bool (self ):
You can’t perform that action at this time.
0 commit comments