Branch: refs/heads/master Home: https://github.com/pytest-dev/pytest Commit: b5a94d8e6c49201c8c79a7c52b8466e020e6d6b8 https://github.com/pytest-dev/pytest/commit/b5a94d8e6c49201c8c79a7c52b8466e020e6d6b8 Author: Bruno Oliveira <nicodde...@gmail.com> Date: 2018-05-25 (Fri, 25 May 2018)
Changed paths: M _pytest/assertion/rewrite.py A changelog/3503.bugfix.rst Log Message: ----------- Write rewritten code using file.write(marshal.dumps()) This works around the fact that some libraries might monkey patch the file object, so the previous approach of marshal.dump(co, file) breaks because file is not a built-in file object anymore. Fix #3503 Commit: 1d451c786d15fc6978e451c42c0e7e889c83fc12 https://github.com/pytest-dev/pytest/commit/1d451c786d15fc6978e451c42c0e7e889c83fc12 Author: Bruno Oliveira <nicodde...@gmail.com> Date: 2018-05-25 (Fri, 25 May 2018) Changed paths: M _pytest/assertion/rewrite.py A changelog/3503.bugfix.rst Log Message: ----------- Merge pull request #3509 from nicoddemus/marshal-3503 Write rewritten code using file.write(marshal.dumps()) Compare: https://github.com/pytest-dev/pytest/compare/a36bab448f4b...1d451c786d15 **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
_______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit