Remove spurious prints in testing.
This commit is contained in:
@@ -570,7 +570,6 @@ class TestContexts(QuantityTestCase):
|
||||
ureg = UnitRegistry()
|
||||
|
||||
with self.capture_log() as buffer:
|
||||
print(buffer)
|
||||
add_ctxs(ureg)
|
||||
|
||||
d = Context('ab')
|
||||
|
||||
@@ -130,7 +130,6 @@ class TestMeasurement(QuantityTestCase):
|
||||
|
||||
for ml, mr in zip((m1, m1, m1, m3), (m1, m2, m3, m3)):
|
||||
r = ml - mr
|
||||
print(ml, mr, ml is mr, r)
|
||||
self.assertAlmostEqual(r.value.magnitude, ml.value.magnitude - mr.value.magnitude)
|
||||
self.assertAlmostEqual(r.error.magnitude,
|
||||
0 if ml is mr else
|
||||
|
||||
Reference in New Issue
Block a user