File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
sdmetrics/single_table/privacy
tests/integration/reports/single_table Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ def hamming_distance(target, test):
6969 The hamming distance
7070 """
7171 dist = 0
72- assert len (target ) == len (
73- test
74- ), 'Tuples must have the same length in the calculation of hamming distance!'
72+ assert len (target ) == len (test ), (
73+ 'Tuples must have the same length in the calculation of hamming distance!'
74+ )
7575
7676 for target_entry , test_entry in zip (target , test ):
7777 if target_entry != test_entry :
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def test_report_end_to_end(self):
143143 )
144144 assert report .get_score () == 0.8393750143888287
145145 assert report ._properties ['Column Shapes' ].num_rows_subsample is None
146- assert report ._properties ['Column Pair Trends' ].num_rows_subsample == None
146+ assert report ._properties ['Column Pair Trends' ].num_rows_subsample is None
147147 report_info = report .get_info ()
148148 assert report_info == report .report_info
149149
You can’t perform that action at this time.
0 commit comments