Loading tests/comparators/test_python.py +8 −1 Original line number Diff line number Diff line # # diffoscope: in-depth comparison of files, archives, and directories # # Copyright © 2021 Chris Lamb <lamby@debian.org> # Copyright © 2021—2022 Chris Lamb <lamby@debian.org> # # diffoscope is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading @@ -22,6 +22,7 @@ import sys from diffoscope.comparators.python import PycFile from ..utils.data import assert_diff_startswith, load_fixture from ..utils.nonexisting import assert_non_existing from ..utils.tools import ( skipif, skip_unless_file_version_is_at_least, Loading Loading @@ -60,3 +61,9 @@ def test_diff(differences): differences[0], "pyc_expected_diff", ) def test_compare_non_existing(monkeypatch, pyc1): assert_non_existing( monkeypatch, pyc1, has_details=False, has_null_source=False ) Loading
tests/comparators/test_python.py +8 −1 Original line number Diff line number Diff line # # diffoscope: in-depth comparison of files, archives, and directories # # Copyright © 2021 Chris Lamb <lamby@debian.org> # Copyright © 2021—2022 Chris Lamb <lamby@debian.org> # # diffoscope is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading @@ -22,6 +22,7 @@ import sys from diffoscope.comparators.python import PycFile from ..utils.data import assert_diff_startswith, load_fixture from ..utils.nonexisting import assert_non_existing from ..utils.tools import ( skipif, skip_unless_file_version_is_at_least, Loading Loading @@ -60,3 +61,9 @@ def test_diff(differences): differences[0], "pyc_expected_diff", ) def test_compare_non_existing(monkeypatch, pyc1): assert_non_existing( monkeypatch, pyc1, has_details=False, has_null_source=False )