-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #2766 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. This PR: * Removes two `test_repr` methods. Reviewed By: Balandat Differential Revision: D62518032 fbshipit-source-id: aa3374645196e7ff922bc13205cbd1095460acef
- Loading branch information
1 parent
acc9df2
commit 81c945f
Showing
3 changed files
with
1 addition
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters