Skip to content

Commit 4199bcd

Browse files
committed
Remove print statements #82 #83
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
1 parent 195eb00 commit 4199bcd

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_deltacode.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,16 +1901,14 @@ def test_Delta_to_dict_Copyright_unusual_characters(self):
19011901

19021902
assert [d.factors for d in deltas_object if d.new_file.path == 'a1.py'].pop() == ['modified', 'license change', 'copyright change']
19031903

1904-
holders_list = [zzz.holders.pop() for d in deltas_object if d.new_file.path == 'a1.py' for zzz in d.new_file.copyrights]
1905-
print('\n\nholders_list_02 = {}\n'.format(holders_list))
1904+
holders_list = [c.holders.pop() for d in deltas_object if d.new_file.path == 'a1.py' for c in d.new_file.copyrights]
19061905

19071906
assert 'Francois Hennebique and others.' in holders_list
19081907
assert 'Ottomar Anschutz.' in holders_list
19091908
assert 'Christiane Nusslein-Volhard.' in holders_list
19101909
assert 'Behram Kursunoglu.' in holders_list
19111910

1912-
statements_list = [zzz.statements.pop() for d in deltas_object if d.new_file.path == 'a1.py' for zzz in d.new_file.copyrights]
1913-
print('\n\nstatements_list = {}\n'.format(statements_list))
1911+
statements_list = [c.statements.pop() for d in deltas_object if d.new_file.path == 'a1.py' for c in d.new_file.copyrights]
19141912

19151913
assert 'Copyright (c) 2017-2018 Francois Hennebique and others.' in statements_list
19161914
assert 'Copyright (c) 1999 Ottomar Anschutz.' in statements_list

0 commit comments

Comments
 (0)