Skip to content

Commit

Permalink
tools\ci.sh: Add test_enum.py to the CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
  • Loading branch information
IhorNehrutsa committed Mar 12, 2025
1 parent 8edf766 commit 6ab2ebe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python-stdlib/enum/manifest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
metadata(version="0.0.1")
metadata(version="1.0.0")

module("enum.py")
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,9 @@ class State(Direction):
assert int(str(State(State.Ready))) == State.Ready
assert int(str(State(State.Ready))) != State.Disabled
print("will raise exception")
del state.Triggered
try:
del state.Triggered
except Exception as e:
print("Exception:", e)

print("OK")
2 changes: 1 addition & 1 deletion tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function ci_package_tests_run {
python-stdlib/base64/test_base64.py \
python-stdlib/binascii/test_binascii.py \
python-stdlib/collections-defaultdict/test_defaultdict.py \
python-stdlib/enum/enum_test.py \
python-stdlib/enum/test_enum.py \
python-stdlib/functools/test_partial.py \
python-stdlib/functools/test_reduce.py \
python-stdlib/heapq/test_heapq.py \
Expand Down

0 comments on commit 6ab2ebe

Please sign in to comment.