def test_write_empty_multidataset(self, tmp_path): writers.write_empty_dataset( tmp_path, self.circuit_list, header_string= '## Columns = ds1 0 count, ds1 1 count, ds2 0 count, ds2 1 count')
def test_write_empty_dataset_raises_on_need_header(self, tmp_path): with self.assertRaises(ValueError): writers.write_empty_dataset(tmp_path, self.circuit_list, header_string="# Nothing ")
def test_write_empty_dataset(self, tmp_path): writers.write_empty_dataset(tmp_path, self.circuit_list, num_zero_cols=2, append_weights_column=False)
def test_write_empty_dataset_raises_on_bad_type(self, tmp_path): with self.assertRaises(ValueError): writers.write_empty_dataset(tmp_path, [('Gx', )], num_zero_cols=2)
def test_write_empty_dataset(self, tmp_path): writers.write_empty_dataset(tmp_path, self.circuit_list, numZeroCols=2, appendWeightsColumn=False)