Re: [pytest-dev] Pytest fails with the wrong error when unicode_literals is present

2014-12-04 Thread Floris Bruynooghe
Hi, So if I understand all this correctly there are two things going on: 1) There's a bug with re-interpret which does not respect the unicode_literals from the original source. 2) re-interpret is being used instead of rewrite because an assert occurs in a file which is not a test module itself.

Re: [pytest-dev] Pytest fails with the wrong error when unicode_literals is present

2014-12-04 Thread Bruno Oliveira
Hi Floris, On Thu, Dec 4, 2014 at 7:14 PM, Floris Bruynooghe wrote: > > 1) There's a bug with re-interpret which does not respect the > unicode_literals from the original source. > > 2) re-interpret is being used instead of rewrite because an assert > occurs in a file which is not a test module i