Skip to content

Commit

Permalink
HOT FIX: black formatting issue (#588)
Browse files Browse the repository at this point in the history
* test

* test

* test

* test

* test

* test

* test for demo

* black formatting issue
  • Loading branch information
taylorfturner authored Aug 9, 2022
1 parent be086c7 commit f2af344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions dataprofiler/tests/data_readers/test_csv_graph_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ def test_data_loader_nodes(self):
return
if input_file["list_nodes"] is None:
continue
data = GraphData(
input_file_path=input_file["path"], options=options
)
data = GraphData(input_file_path=input_file["path"], options=options)
self.assertEqual(input_file["list_nodes"], sorted(data.nodes))

def test_data_loader_edges(self):
Expand All @@ -200,9 +198,7 @@ def test_data_loader_edges(self):
return
if input_file["list_edges"] is None:
continue
data = GraphData(
input_file_path=input_file["path"], options=options
)
data = GraphData(input_file_path=input_file["path"], options=options)
data_edges = list(data.edges)

for edge in input_file["list_edges"]:
Expand Down
2 changes: 1 addition & 1 deletion dataprofiler/tests/profilers/test_graph_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_report(self):
def test_graph_data_object(self):
data = GraphData(input_file_path=None, data=self.graph)
graph_profile = GraphProfiler("test_graph_data_object_update")

with utils.mock_timeit():
profile = graph_profile.update(data)
scale = profile.profile["continuous_distribution"]["weight"].pop("scale")
Expand Down

0 comments on commit f2af344

Please sign in to comment.