diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2017-11-04 13:17:20 -0200 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2017-11-04 13:59:10 -0200 |
commit | 03829fde8afde32c7ee4ff0d01b728b405e24b5d (patch) | |
tree | 073285a5a034651c2a3e7ef053d4590cd24a079d /testing/test_recwarn.py | |
parent | 2e2f72156a9a8e735b95c719cfeef74d243d0739 (diff) | |
download | pytest-03829fde8afde32c7ee4ff0d01b728b405e24b5d.tar.gz |
Fix linting E741: ambiguous variable name
Diffstat (limited to 'testing/test_recwarn.py')
-rw-r--r-- | testing/test_recwarn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_recwarn.py b/testing/test_recwarn.py index 6895b1140..481bf0a04 100644 --- a/testing/test_recwarn.py +++ b/testing/test_recwarn.py @@ -30,10 +30,10 @@ class TestWarningsRecorderChecker(object): assert len(rec.list) == 2 warn = rec.pop() assert str(warn.message) == "hello" - l = rec.list + values = rec.list rec.clear() assert len(rec.list) == 0 - assert l is rec.list + assert values is rec.list pytest.raises(AssertionError, "rec.pop()") def test_typechecking(self): |