We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817f876 commit a4c4a0bCopy full SHA for a4c4a0b
pds3/tests/test_units.py
@@ -28,6 +28,7 @@ def test_localhour():
28
('candelas', u.cd),
29
('radians', u.rad),
30
('steradians', u.sr),
31
+ ('bytes', u.byte)
32
])
33
def test_plural_unit(unit, other):
34
with units.enable():
pds3/units.py
@@ -37,6 +37,7 @@
37
candelas = u.def_unit('candelas', u.cd, namespace=_namespace)
38
radians = u.def_unit('radians', u.rad, namespace=_namespace)
39
steradians = u.def_unit('steradians', u.sr, namespace=_namespace)
40
+bytes = u.def_unit('bytes', u.byte, namespace=_namespace)
41
42
###########################################################################
43
# DOCSTRING
0 commit comments