diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2018-10-20 12:09:44 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2018-10-20 12:09:44 -0300 |
commit | 7bb51b8ceb1df7dad1363ddbaa9abaeb333b4522 (patch) | |
tree | 25aa371b8333045b6beb9e95fa57bdd566110514 /changelog | |
parent | b432f1207c6f24d96bc07b8cc1ae1bff9311c74d (diff) | |
download | pytest-7bb51b8ceb1df7dad1363ddbaa9abaeb333b4522.tar.gz |
Issue a warning when a fixture named 'request' is collected
Fix #611
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/611.bugfix.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog/611.bugfix.rst b/changelog/611.bugfix.rst new file mode 100644 index 000000000..1b39f4aa9 --- /dev/null +++ b/changelog/611.bugfix.rst @@ -0,0 +1,2 @@ +Naming a fixture ``request`` will now raise a warning: the ``request`` fixture is internal and +should not be overwritten as it will lead to internal errors. |