Convert the `art_apex_test.py` script to Python 2. am: 29e740fe64 am: 4e4fd07bff
am: df8294d349

Change-Id: I03bc4aa5c474574462bf425ad2eb9b4cfef8d3cd