Skip to content
Snippets Groups Projects
Commit c8604c65 authored by Sylvia Biscoveanu's avatar Sylvia Biscoveanu
Browse files

Fix new flake8 issues

parent 46d3ee27
No related branches found
No related tags found
1 merge request!804Fix the multinest temporary file transfer
......@@ -768,7 +768,7 @@ class TestPymultinest(unittest.TestCase):
max_modes=100, mode_tolerance=-1e90, seed=-1,
context=0, write_output=True, log_zero=-1e100,
max_iter=0, init_MPI=False, dump_callback='dumper')
self.sampler.kwargs['dump_callback'] = 'dumper' #Check like the dynesty print_func
self.sampler.kwargs['dump_callback'] = 'dumper' # Check like the dynesty print_func
self.assertListEqual([1, 0], self.sampler.kwargs['wrapped_params']) # Check this separately
self.sampler.kwargs['wrapped_params'] = None # The dict comparison can't handle lists
self.assertDictEqual(expected, self.sampler.kwargs)
......@@ -791,7 +791,7 @@ class TestPymultinest(unittest.TestCase):
new_kwargs[
"wrapped_params"
] = None # The dict comparison can't handle lists
new_kwargs['dump_callback'] = 'dumper' #test like Dynesty print_func
new_kwargs['dump_callback'] = 'dumper' # Check this like Dynesty print_func
new_kwargs[equiv] = 123
self.sampler.kwargs = new_kwargs
self.assertDictEqual(expected, self.sampler.kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment