Skip to content

Commit 88be159

Browse files
committed
fix up tests
1 parent aff9ec7 commit 88be159

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_backend_consistency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_hypotest_qmu_tilde(
128128
numpy_ratio_delta_unity = np.absolute(np.subtract(numpy_ratio, 1))
129129

130130
# compare tensor libraries to each other
131-
tensors_ratio = np.divide(test_statistic[1], test_statistic[2])
131+
tensors_ratio = np.divide(test_statistic[0], test_statistic[1])
132132
tensors_ratio_delta_unity = np.absolute(np.subtract(tensors_ratio, 1))
133133

134134
try:

tests/test_public_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def test_supported_precision(precision_level):
9898
def test_custom_backend_name_supported():
9999
class custom_backend:
100100
def __init__(self, **kwargs):
101-
self.name = "custom"
101+
self.name = "numpy"
102102
self.precision = '64b'
103103

104104
def _setup(self):

0 commit comments

Comments
 (0)