Loading tests/test_source.py +0 −7 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ # along with diffoscope. If not, see <https://www.gnu.org/licenses/>. import os import glob import diffoscope import subprocess Loading @@ -27,12 +26,6 @@ from .utils.tools import skip_unless_tools_exist BASE_DIR = os.path.dirname(os.path.abspath(diffoscope.__file__)) def test_dos_mbr(): for x in glob.iglob(os.path.join(BASE_DIR, '**', '*.py'), recursive=True): with open(x, 'rb') as f: assert b'DOS/MBR' not in f.read() @skip_unless_tools_exist('black') def test_code_is_black_clean(): output = subprocess.check_output( Loading Loading
tests/test_source.py +0 −7 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ # along with diffoscope. If not, see <https://www.gnu.org/licenses/>. import os import glob import diffoscope import subprocess Loading @@ -27,12 +26,6 @@ from .utils.tools import skip_unless_tools_exist BASE_DIR = os.path.dirname(os.path.abspath(diffoscope.__file__)) def test_dos_mbr(): for x in glob.iglob(os.path.join(BASE_DIR, '**', '*.py'), recursive=True): with open(x, 'rb') as f: assert b'DOS/MBR' not in f.read() @skip_unless_tools_exist('black') def test_code_is_black_clean(): output = subprocess.check_output( Loading