Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Update test_parametrized.py
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Stone, PhD <[email protected]>
  • Loading branch information
lsetiawan and ConnorStoneAstro authored Nov 28, 2023
1 parent cf4bc37 commit 41596f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_parametrized.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_parametrized_name_setter_bad_names():
# Make sure bad names are catched by our added method. Bad names are name which cannot be used as class attributes.
good_names = ["variable", "_variable", "var_iable2"]
for name in good_names:
Sersic(name=name)
module = Sersic(name=name)
bad_names = ["for", "2variable", "variable!", "var-iable", "var iable", "def"]
for name in bad_names:
print(name)
Expand Down

0 comments on commit 41596f4

Please sign in to comment.