Joe Amenta's Blog

July 26, 2009

Milestone 1.5: Shoot, it doesn’t work right.

Filed under: 3to2,GSoC 2009,Google Summer of Code,Work — Tags: , , — AirBreather @ 9:00 pm

Well, this sucks.  I found out, while trying to refactor stdin, that my testing framework does not test fixer interactions.  It started out simply: refactoring “print(‘omg’)”  just turned into “print(u’omg’)” (without adding from __future__ import print_function).  That was partially fixed.  However, this led me to test others, and there are other cases where I get the wrong output.  Fixes are on the way.

Edit: It works fine now; I just have to stay away from self.tree.was_changed.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress