diff options
author | Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | 2022-08-18 22:13:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 22:13:23 +0200 |
commit | 82d55aee4ae3718b77fbec70e5d7d80c70adfa27 (patch) | |
tree | b8947faffa21e7401d176cc822ffe75191a18576 /tests/functional/w/with_using_generator.py | |
parent | a2c57ec06070b6d2485082e3a131a087f8d6d921 (diff) | |
download | pylint-git-82d55aee4ae3718b77fbec70e5d7d80c70adfa27.tar.gz |
Remove Python 2 code from the tests & refactor (#7320)
- Refactor Classes which inherit from `object`.
- Remove `import print_function from __future__`.
- Remove assignments to `__revision__` from the functional test module when it is never used throughout the module.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/functional/w/with_using_generator.py')
-rw-r--r-- | tests/functional/w/with_using_generator.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/w/with_using_generator.py b/tests/functional/w/with_using_generator.py index 187bdcfea..9f557363f 100644 --- a/tests/functional/w/with_using_generator.py +++ b/tests/functional/w/with_using_generator.py @@ -1,7 +1,6 @@ """ Testing with statements that use generators. This should not crash. """ -# pylint: disable=useless-object-inheritance -class Base(object): +class Base: """ Base class. """ val = 0 |