[#2473] Add Iterable support in assertIsEmpty/assertIsNotEmpty.
merge master.
Add osx exception.