Skip to content

Commit

Permalink
fix: misspelled key, list construction error
Browse files Browse the repository at this point in the history
  • Loading branch information
paverett committed Dec 1, 2023
1 parent 8d65395 commit 8b7c3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astropy/units/tests/test_physical.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def test_physical_type_as_set(unit, expected_set):

def test_physical_type_iteration():
"""Test iterating through different physical type names."""
physical_type_names = [pressure]
physical_type_names = list(pressure)
assert physical_type_names == ["energy density", "pressure", "stress"]


Expand Down
2 changes: 1 addition & 1 deletion astropy/units/tests/test_quantity_non_ufuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,7 @@ def check2(self, function, *args, **kwargs):
"kwargs",
(
{"return_index": True, "return_inverse": True},
{"return_count": True},
{"return_counts": True},
{"return_index": True, "return_inverse": True, "return_counts": True},
),
)
Expand Down

0 comments on commit 8b7c3af

Please sign in to comment.