Edward J. Schwartz commited on
Commit
5b87f77
·
1 Parent(s): c164530

Fix empty test splits

Browse files
Files changed (1) hide show
  1. oo-method-test-split.py +1 -1
oo-method-test-split.py CHANGED
@@ -133,7 +133,7 @@ class OOMethodTestDataset(datasets.ArrowBasedBuilder):
133
  # A function (name) is a library function if it appears in more than one Exename
134
 
135
  # this is (('func', 'oo.exe'): 123)
136
- testcount = set(zip(ds['Name'], zip(ds['Binary'], ds['Exename'])))
137
 
138
  # sorted pairs by function name
139
  testcount = sorted(testcount, key=lambda x: x[0])
 
133
  # A function (name) is a library function if it appears in more than one Exename
134
 
135
  # this is (('func', 'oo.exe'): 123)
136
+ testcount = set(zip(ds['Name'], list(zip(ds['Binary'], ds['Exename']))))
137
 
138
  # sorted pairs by function name
139
  testcount = sorted(testcount, key=lambda x: x[0])