From 3c28a8ec1a51d2857e53371ee2c61809da9fa845 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 20 Jul 2017 19:39:07 -0300 Subject: [PATCH] Improve formatting/grammar of changelog entries --- changelog/2375.bugfix | 1 + changelog/2375.trivial | 1 - changelog/2533.trivial | 2 +- changelog/2562.trivial | 2 +- changelog/2574.bugfix | 2 +- changelog/2581.trivial | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 changelog/2375.bugfix delete mode 100644 changelog/2375.trivial diff --git a/changelog/2375.bugfix b/changelog/2375.bugfix new file mode 100644 index 000000000..3f4fd3c3d --- /dev/null +++ b/changelog/2375.bugfix @@ -0,0 +1 @@ +Add missing ``encoding`` attribute to ``sys.std*`` streams when using ``capsys`` capture mode. diff --git a/changelog/2375.trivial b/changelog/2375.trivial deleted file mode 100644 index a73ab6ccf..000000000 --- a/changelog/2375.trivial +++ /dev/null @@ -1 +0,0 @@ -Provides encoding attribute on CaptureIO. diff --git a/changelog/2533.trivial b/changelog/2533.trivial index cac4c3bdd..930fd4c0d 100644 --- a/changelog/2533.trivial +++ b/changelog/2533.trivial @@ -1 +1 @@ -Renamed the utility function `_pytest.compat._escape_strings` to `_ascii_escaped` to better communicate the function's purpose. +Renamed the utility function ``_pytest.compat._escape_strings`` to ``_ascii_escaped`` to better communicate the function's purpose. diff --git a/changelog/2562.trivial b/changelog/2562.trivial index 605c7cf74..33e34ff65 100644 --- a/changelog/2562.trivial +++ b/changelog/2562.trivial @@ -1 +1 @@ -Emit yield test warning only once per generator +Emit warning about ``yield`` tests being deprecated only once per generator. diff --git a/changelog/2574.bugfix b/changelog/2574.bugfix index 49a01342b..13396bc16 100644 --- a/changelog/2574.bugfix +++ b/changelog/2574.bugfix @@ -1 +1 @@ -The options --fixtures and --fixtures-per-test will now keep indentation within docstrings. +The options ```--fixtures`` and ```--fixtures-per-test`` will now keep indentation within docstrings. diff --git a/changelog/2581.trivial b/changelog/2581.trivial index ea6785c79..341ef337f 100644 --- a/changelog/2581.trivial +++ b/changelog/2581.trivial @@ -1 +1 @@ -Fixed all flake8 errors and warnings +Fixed all flake8 errors and warnings.