Skip to content

Commit cba6647

Browse files
committed
Removed print statements from test
1 parent e2566ea commit cba6647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qinfer/tests/base_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,11 +573,11 @@ def test_in_domain(self):
573573
try:
574574
assert(self.domain.in_domain(v))
575575
except AssertionError as e:
576-
print('Current Value: {}'.format(v))
576+
e.args += ('Current good value: {}'.format(v),)
577577
raise e
578578
for v in self.bad_values:
579579
try:
580580
assert(not self.domain.in_domain(v))
581581
except AssertionError as e:
582-
print('Current Value: {}'.format(v))
582+
e.args += ('Current bad value: {}'.format(v),)
583583
raise e

0 commit comments

Comments
 (0)