Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Rename the "text_option_with_stdiout" to "text_option_with_stdout".
· cb1c7320
Chris Lamb
authored
Dec 27, 2019
cb1c7320
Revert "Don't return a "filter" iterable from Container.compare; return a non-lazy list instead."
· e43e1dfe
Chris Lamb
authored
Dec 27, 2019
This reverts commit
8833cc8a
.
e43e1dfe
releasing package diffoscope version 134
· e6bed7af
Chris Lamb
authored
Dec 27, 2019
e6bed7af
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
e6bed7af
diffoscope (134)
UNRELEASED
; urgency=medium
diffoscope (134)
unstable
; urgency=medium
* WIP (generated upon release).
[ Chris Lamb ]
* Ensure that autopkgtests are run with our pyproject.toml present for the
correct "black" source code formatter settings. (Closes: #945993)
* Tidy some unnecessary boolean logic in the ISO9660 tests.
* Rename the "text_option_with_stdiout" to "text_option_with_stdout".
* Include the libarchive file listing for ISO images to ensure that
timestamps (not just dates) are visible in any difference.
(Closes: reproducible-builds/diffoscope#81)
[ Eli Schwartz ]
* Fix an exception in the progressbar handler.
[ Vagrant Cascadian ]
* Add an external tool reference for zstd on GNU Guix.
-- Chris Lamb
<lamby
@
debian.org
>
Thu, 28 Nov
2019 1
0
:1
8:07
+0000
-- Chris Lamb
<lamby
@
debian.org
>
Fri, 27 Dec
2019 1
9
:1
7:16
+0000
diffoscope (133) unstable; urgency=medium
...
...
diffoscope/__init__.py
View file @
e6bed7af
...
...
@@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License
# along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
VERSION
=
"
13
3
"
VERSION
=
"
13
4
"
diffoscope/comparators/utils/container.py
View file @
e6bed7af
...
...
@@ -200,9 +200,9 @@ class Container(metaclass=abc.ABCMeta):
difference
.
add_comment
(
comment
)
return
difference
differences
=
itertools
.
starmap
(
compare_pair
,
self
.
comparisons
(
other
))
return
[
x
for
x
in
differences
if
x
]
return
filter
(
None
,
itertools
.
starmap
(
compare_pair
,
self
.
comparisons
(
other
))
)
class
MissingContainer
(
Container
):
...
...
tests/test_presenters.py
View file @
e6bed7af
...
...
@@ -110,7 +110,7 @@ def test_text_option_with_file(tmpdir, capsys):
assert
f
.
read
()
==
get_data
(
'
output.txt
'
)
def
test_text_option_with_std
i
out
(
capsys
):
def
test_text_option_with_stdout
(
capsys
):
out
=
run
(
capsys
,
'
--text
'
,
'
-
'
)
assert
out
==
get_data
(
'
output.txt
'
)
...
...