Skip to content
Snippets Groups Projects
Commit 5a486af3 authored by Avi Vajpeyi's avatar Avi Vajpeyi :alien:
Browse files

Merge branch '71-flake8-e721' into 'master'

Resolve "flake8 E721"

Closes #71

See merge request lscsoft/parallel_bilby!133
parents b56d25b8 90faea08
No related branches found
Tags filters-file-sha256-checksum-verification
No related merge requests found
Pipeline #576947 failed
...@@ -95,4 +95,4 @@ class AnalysisRunTest(FastRun): ...@@ -95,4 +95,4 @@ class AnalysisRunTest(FastRun):
live_points = self.run.get_initial_points_from_prior(pool) live_points = self.run.get_initial_points_from_prior(pool)
sampler = self.run.get_nested_sampler(live_points, pool, pool.size) sampler = self.run.get_nested_sampler(live_points, pool, pool.size)
assert type(sampler) == LivePointSampler assert isinstance(sampler, LivePointSampler)
...@@ -61,9 +61,9 @@ def test_timer(enabled): ...@@ -61,9 +61,9 @@ def test_timer(enabled):
finally: finally:
os.remove(timing_file) os.remove(timing_file)
assert type(data) == list assert isinstance(data, list)
assert len(data) >= 1 assert len(data) >= 1
assert type(data[0]) == dict assert isinstance(data[0], dict)
expected_keys = [ expected_keys = [
"master_serial", "master_serial",
......
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