scrapinghub / scrapy-autounit

Automatic unit test generation for Scrapy.
BSD 3-Clause "New" or "Revised" License
55 stars 13 forks source link

Support for cross-python-versions fixtures #22

Closed fcanobrash closed 5 years ago

fcanobrash commented 5 years ago

For the moment cross-python-versions fixtures work only if the fixtures/tests are generated in Python 3. This means that if you generate your fixtures in Python3, you would be able to test them in either Python 2 or 3 but if the fixtures are generated in Python 2 and try to run them in Python 3, you might see errors like UnicodeDecodeError among others when autounit tries to unpickle py2 objects.

fcanobrash commented 5 years ago

Fixed in https://github.com/scrapinghub/scrapy-autounit/commit/1e7b1e32ddacc071b8bd287c761e2f581715c31d