Skip to content

Commit 49fe891

Browse files
atombrellaphilpep
authored andcommitted
Remove File.__ne__.
Python 3 made __ne__ methods redundant.
1 parent 6942161 commit 49fe891

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ classifiers =
1818
Programming Language :: Python
1919
Programming Language :: Python :: 3
2020
Programming Language :: Python :: 3 :: Only
21-
Programming Language :: Python :: 3.4
2221
Programming Language :: Python :: 3.5
2322
Programming Language :: Python :: 3.6
2423
Programming Language :: Python :: 3.7
@@ -29,7 +28,7 @@ classifiers =
2928

3029
[options]
3130
use_scm_version = True
32-
python_requires = >=3.4
31+
python_requires = >=3.5
3332
packages = find:
3433
setup_requires =
3534
setuptools_scm

testinfra/modules/file.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ def __eq__(self, other):
186186
return self.path == other
187187
return False
188188

189-
def __ne__(self, other):
190-
return not self.__eq__(other)
191-
192189
@classmethod
193190
def get_module_class(cls, host):
194191
if host.system_info.type == "linux":

0 commit comments

Comments
 (0)