Skip to content

Commit 8c44e10

Browse files
committed
Fix tests
1 parent adf7914 commit 8c44e10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/notebooks/workshops/test_analyze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_notebook(tb: TestbookNotebookClient) -> None:
1414
# test quantum programs
1515
validate_quantum_program_size(
1616
tb.ref("qprog"),
17-
expected_width=15, # actual width: 12
17+
expected_width=30, # actual width: 12
1818
expected_depth=500, # actual depth: 390
1919
)
2020

tests/notebooks/workshops/test_execute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_notebook(tb: TestbookNotebookClient) -> None:
1515
# test quantum programs
1616
validate_quantum_program_size(
1717
tb.ref("qprog_with_execution_preferences"),
18-
expected_width=15, # actual width: 12
18+
expected_width=30, # actual width: 12
1919
expected_depth=500, # actual depth: 390
2020
)
2121

tests/notebooks/workshops/test_quantum_variables_and_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_notebook(tb: TestbookNotebookClient) -> None:
1515
validate_quantum_program_size(
1616
tb.ref("qprog"),
1717
expected_width=8, # actual width: 6
18-
expected_depth=50, # actual depth: 34
18+
expected_depth=70, # actual depth: 34
1919
)
2020

2121
# test notebook content

0 commit comments

Comments
 (0)