Skip to content

Commit

Permalink
Merge pull request #159 from pearu/dependabot/github_actions/pypa/gh-…
Browse files Browse the repository at this point in the history
…action-pypi-publish-1.8.8

Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8
  • Loading branch information
djhoese authored Aug 1, 2023
2 parents 99f92fb + 3f631d3 commit 8ed0e27
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-sdist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Publish package to PyPI
if: github.event.action == 'published'
uses: pypa/[email protected].7
uses: pypa/[email protected].8
with:
user: __token__
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion libtiff/test_bittools.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_wordbits():
assert word == arr[0], repr((width, word, arr[0], bstr, dtype))
bittools.setword(arr2, 0, width, word)
assert bittools.getword(arr2, 0, width)[0] == word
assert tobinary(arr2)[:width] == bstr[:width],\
assert tobinary(arr2)[:width] == bstr[:width], \
repr((tobinary(arr2)[:width], bstr[:width]))


Expand Down
2 changes: 1 addition & 1 deletion libtiff/tests/test_lzw.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def test_encode():

rarr = c_encode(arr)
arr2 = c_decode(rarr, arr.nbytes)
assert arr2.nbytes == arr.nbytes and (arr2 == arr).all(),\
assert arr2.nbytes == arr.nbytes and (arr2 == arr).all(), \
repr((arr2, arr))
4 changes: 2 additions & 2 deletions libtiff/tiff_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def write_file(self, filename, compression='none',
# entries must be sorted by tag number
entries.sort(key=lambda x: x.tag)

strip_info = strip_offsets, strip_byte_counts, strips_per_image,\
strip_info = strip_offsets, strip_byte_counts, strips_per_image, \
rows_per_strip, bytes_per_row
image_directories.append((entries, strip_info, image))

Expand Down Expand Up @@ -359,7 +359,7 @@ def tif_write(_tif, _offset, _data):
start_time = time.time()
compressed_data_size = 0
for i, (entries, strip_info, image) in enumerate(image_directories):
strip_offsets, strip_byte_counts, strips_per_image,\
strip_offsets, strip_byte_counts, strips_per_image, \
rows_per_strip, bytes_per_row = strip_info

# write the nof IFD entries
Expand Down

0 comments on commit 8ed0e27

Please sign in to comment.