Summary:
Context: There used to be more BenchmarkProblem subclasses, and they used to implement their own 'repr' methods, so there were tests for the custom repr methods. Now BenchmarkProblem and its subclass SurrogateBenchmarkProblem get their __repr__ methods from being data classes. These tests have become annoying because they break with any change to `BenchmarkProblem, even if just changing the order of arguments.
Summary: Context: There used to be more
BenchmarkProblem
subclasses, and they used to implement their own 'repr' methods, so there were tests for the custom repr methods. NowBenchmarkProblem
and its subclassSurrogateBenchmarkProblem
get their__repr__
methods from being data classes. These tests have become annoying because they break with any change to `BenchmarkProblem, even if just changing the order of arguments.This PR:
test_repr
methods.Reviewed By: Balandat
Differential Revision: D62518032