mgorny added a comment. The diffs aren't very useful since I had to add a class for each test unit and so everything needed reindenting. You can take my word that changes boil down to:
- adding `unittest` import, - adding class for each test unit and converting the functions into methods (except for some generic utility funcs and vars which I left global scope), - replacing assertions and other checks with appropriate `self.assert*` methods (especially improving exception checks). I get the same results (3 failures) with the change as I got before it. Repository: rL LLVM https://reviews.llvm.org/D39763 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits