File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -222,12 +222,6 @@ def snapshot(self) -> object:
222
222
del d ['per_module_cache' ]
223
223
return d
224
224
225
- def __eq__ (self , other : object ) -> bool :
226
- return isinstance (other , Options ) and self .snapshot () == other .snapshot ()
227
-
228
- def __ne__ (self , other : object ) -> bool :
229
- return not self == other
230
-
231
225
def __repr__ (self ) -> str :
232
226
return 'Options({})' .format (pprint .pformat (self .snapshot ()))
233
227
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def test_coherence(self) -> None:
21
21
_ , parsed_options = process_options ([], require_targets = False )
22
22
# FIX: test this too. Requires changing working dir to avoid finding 'setup.cfg'
23
23
options .config_file = parsed_options .config_file
24
- assert_equal (options , parsed_options )
24
+ assert_equal (options . snapshot () , parsed_options . snapshot () )
25
25
26
26
def test_executable_inference (self ) -> None :
27
27
"""Test the --python-executable flag with --python-version"""
You can’t perform that action at this time.
0 commit comments