[Pytest-commit] [pytest-dev/pytest] 90a8fa: Fix test for py37

Bruno Oliveira nicoddemus at gmail.com
Fri Feb 2 14:13:03 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/pytest-dev/pytest
  Commit: 90a8faabbaf22ca376af71cc49d3ab81c510e736
      https://github.com/pytest-dev/pytest/commit/90a8faabbaf22ca376af71cc49d3ab81c510e736
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-01-30 (Tue, 30 Jan 2018)

  Changed paths:
    M testing/test_recwarn.py

  Log Message:
  -----------
  Fix test for py37

In previous Python versions, the list of warnigns appears like:

	... list of emitted warnings is: [UserWarning('user',)].

In Python 3.7 apparently the string representation has been improved to:

	... list of emitted warnings is: [UserWarning('user')].

Fix #3011


  Commit: 8c81722a0c82de01dd17c9171e88162a2ad56806
      https://github.com/pytest-dev/pytest/commit/8c81722a0c82de01dd17c9171e88162a2ad56806
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M testing/test_recwarn.py

  Log Message:
  -----------
  Merge pull request #3167 from nicoddemus/fix-py37

Fix test for py37


Compare: https://github.com/pytest-dev/pytest/compare/89a55d85a9d3...8c81722a0c82


More information about the pytest-commit mailing list