Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_qm9():
adj, nf, ef, labels = qm9.load_data('numpy', amount=1000)
correctly_padded(adj, nf, ef)
assert adj.shape[0] == labels.shape[0]
# Test that it doesn't crash
qm9.load_data('networkx', amount=1000)
qm9.load_data('sdf', amount=1000)