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:
222222 del d ['per_module_cache' ]
223223 return d
224224
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-
231225 def __repr__ (self ) -> str :
232226 return 'Options({})' .format (pprint .pformat (self .snapshot ()))
233227
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def test_coherence(self) -> None:
2121 _ , parsed_options = process_options ([], require_targets = False )
2222 # FIX: test this too. Requires changing working dir to avoid finding 'setup.cfg'
2323 options .config_file = parsed_options .config_file
24- assert_equal (options , parsed_options )
24+ assert_equal (options . snapshot () , parsed_options . snapshot () )
2525
2626 def test_executable_inference (self ) -> None :
2727 """Test the --python-executable flag with --python-version"""
You can’t perform that action at this time.
0 commit comments