You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add unit tests for pyamber replace_print and AtomicInteger #4793
Two thin utilities in amber/src/main/python/core/util/ have no dedicated specs:
console_message/replace_print.py::replace_print — context manager that replaces builtins.print so prints inside the with block enqueue a ConsoleMessage on a buffer.
thread/atomic.py::AtomicInteger — thread-safe integer with inc / dec / get-and-* / property accessors.
Add unit tests covering the entry/exit lifecycle and buffer payloads of replace_print, plus the read/write/atomic-fetch semantics of AtomicInteger.
Activity
test(pyamber): add unit tests for replace_print and AtomicInteger (ap…
test(pyamber): add unit tests for replace_print and AtomicInteger (ap…