Skip to content

Commit

Permalink
remove more assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Apr 14, 2019
1 parent fc81233 commit fbf8eb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dask/highlevelgraph.py
Expand Up @@ -69,10 +69,8 @@ class HighLevelGraph(Mapping):
typically used by developers to make new HighLevelGraphs
"""
def __init__(self, layers, dependencies):
assert all(layers)
self.layers = layers
self.dependencies = dependencies
assert set(dependencies) == set(layers)

@property
def dicts(self):
Expand Down

0 comments on commit fbf8eb2

Please sign in to comment.