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

Change-Id: I681072bc1463b02604ef118339503a9d9d2de04c