Skip to content

Commit b9d5894

Browse files
committed
added test for bug #386145
1 parent 7830f97 commit b9d5894

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

quantities/tests/test_60_uncertainty.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ def test_uncertainquantity_divide():
7272
'[ 1. 1.] dimensionless\n±[ 0.14142136 0.14142136] '
7373
'dimensionless (1σ)'
7474
)
75+
assert_equal(
76+
str(a/pq.m),
77+
'[ 1. 2.] dimensionless\n±[ 0.1 0.2] '
78+
'dimensionless (1σ)'
79+
)
7580
assert_equal(
7681
str(a/2),
7782
'[ 0.5 1. ] m\n±[ 0.05 0.1 ] m (1σ)'

0 commit comments

Comments
 (0)