Skip to content

Commit 0bff92b

Browse files
committed
chore: reformat following new black version
1 parent f53266d commit 0bff92b

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project
66
adheres to [Semantic Versioning](https://semver.org/).
77

8-
## [0.4.0] - 2022-01-09
8+
## [Unreleased]
9+
10+
[unreleased]: https://github.com/rogdham/python-xz/compare/v0.4.0...HEAD
11+
12+
### :house: Internal
13+
14+
- Necessary code changes following dev dependency update: black
915

1016
[0.4.0]: https://github.com/rogdham/python-xz/releases/tag/v0.4.0
1117

tests/unit/test_ioabstract.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ def _write(self, data: bytes) -> int:
246246
return len(data)
247247

248248
with Impl() as obj:
249-
250249
# write before end
251250
obj.seek(5)
252251
with pytest.raises(ValueError) as exc_info:

tests/unit/test_iocombiner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ def test_truncate() -> None:
247247
]
248248

249249
with IOCombiner(*originals) as combiner:
250-
251250
# truncate between two boundaries
252251
combiner.truncate(17)
253252
assert originals[3].method_calls == [call.truncate(7)]

tests/unit/test_open.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def test_mode_wt_encoding(encoding: str, data: str) -> None:
433433
),
434434
pytest.param(
435435
"backslashreplace",
436-
br"en\udc01co\udc02di\udc03ng",
436+
rb"en\udc01co\udc02di\udc03ng",
437437
id="backslashreplace",
438438
),
439439
),

0 commit comments

Comments
 (0)