diff --git a/poetry.lock b/poetry.lock index 8a95ac9..8ff055f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3010,4 +3010,4 @@ moteus = ["moteus", "moteus-pi3hat"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<4.0" -content-hash = "9351db36ceedc0ec56895f9ec85bf1ced6443878d4f1bef0aa26ab9a6e354794" +content-hash = "2a1cefd81c534f7d7e3c6a9d4a70950b4d1b20898c1af36fc108aac3aff1e026" diff --git a/tests/test_units/test_units.py b/tests/test_units/test_units.py index bd0cf0c..7c8392f 100644 --- a/tests/test_units/test_units.py +++ b/tests/test_units/test_units.py @@ -51,11 +51,8 @@ def test_convert_to_from_default(): units = [] # Add all units to array for c in categories: - for unit in dir(c): - if not unit.startswith("__"): - value = getattr(c, unit) - print(value) - units.append(value) + for unit in c: + units.append(unit) # Iterate over all possible units and test converting to/from default for unit in units: