Skip to content

Commit

Permalink
Actually test zip sweep with duplicate keys (#2913)
Browse files Browse the repository at this point in the history
  • Loading branch information
viathor committed Apr 15, 2020
1 parent 68bf299 commit 3132f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq/study/sweeps_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_product_duplicate_keys():

def test_zip_duplicate_keys():
with pytest.raises(ValueError):
_ = cirq.Linspace('a', 0, 9, 10) * cirq.Linspace('a', 0, 10, 11)
_ = cirq.Linspace('a', 0, 9, 10) + cirq.Linspace('a', 0, 10, 11)


def test_linspace():
Expand Down

0 comments on commit 3132f97

Please sign in to comment.