Skip to content

Commit 0b594b5

Browse files
chongyouquanTensorflow Cloud maintainers
authored andcommitted
Deflake test
PiperOrigin-RevId: 340380162
1 parent edd79ef commit 0b594b5

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

RELEASE.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
* Add notes for next release here.
44

5-
# Release 0.1.8
6-
7-
* Added Kaggle integration
8-
* `cloud_fit` now moved to a sub-module under `Tuner`
9-
* HParams plugin integration with DistributingCloudTuner
10-
* Added integration tests
11-
* Small bug fixes.
12-
135
# Release 0.1.7
146

157
* `cloud_fit` uses pickle instead of cloudpickle.

src/python/tensorflow_cloud/tuner/tests/unit/utils_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,9 @@ def test_get_trial_id(self):
439439

440440
def _assert_hps_equal(self, hps1, hps2):
441441
self.assertEqual(len(hps1.space), len(hps2.space))
442-
for hp1, hp2 in zip(hps1.space, hps2.space):
443-
self.assertEqual(repr(hp1), repr(hp2))
442+
hps1_repr_list = [repr(x) for x in hps1.space]
443+
hps2_repr_list = [repr(x) for x in hps2.space]
444+
self.assertCountEqual(hps1_repr_list, hps2_repr_list)
444445

445446
def _assert_study_config_equal(
446447
self, test_study_config, expected_study_config

src/python/tensorflow_cloud/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
"""Contains the version string of TensorFlow Cloud."""
1515

16-
__version__ = "0.1.9.dev"
16+
__version__ = "0.1.8.dev"

0 commit comments

Comments
 (0)