Skip to content

Commit

Permalink
Unit test fixes for py3.11 and py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
senthurayyappan committed Nov 21, 2024
1 parent ce1e05f commit 78323c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions tests/test_units/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 78323c2

Please sign in to comment.