square / assertj-android

A set of AssertJ helpers geared toward testing Android.
https://square.github.io/assertj-android/
Apache License 2.0
1.58k stars 156 forks source link

generate-android-java.py not working with Python 3 #31

Closed screendriver closed 11 years ago

screendriver commented 11 years ago

I don't know if it's a bug or a feature ;-)

JakeWharton commented 11 years ago

Just need to use print as a function instead of a statement. Should be easy to fix.

JakeWharton commented 11 years ago

Can you test the jw/python3 branch?

screendriver commented 11 years ago

Now it looks like this https://gist.github.com/ScreenDriver/e358daccb630c6604ad5 (empty and invalid ANDROID.java)

Python script runned under Windows 8 with Python 3.3.0