Internal change
PiperOrigin-RevId: 499351795
This commit is contained in:
parent
e7dc989f71
commit
add5600d0d
|
@ -71,6 +71,7 @@ class TextClassifierTest(tf.test.TestCase):
|
|||
|
||||
self.assertTrue(os.path.exists(output_metadata_file))
|
||||
self.assertGreater(os.path.getsize(output_metadata_file), 0)
|
||||
filecmp.clear_cache()
|
||||
self.assertTrue(
|
||||
filecmp.cmp(
|
||||
output_metadata_file,
|
||||
|
|
|
@ -135,6 +135,7 @@ class ImageClassifierTest(tf.test.TestCase, parameterized.TestCase):
|
|||
|
||||
self.assertTrue(os.path.exists(output_metadata_file))
|
||||
self.assertGreater(os.path.getsize(output_metadata_file), 0)
|
||||
filecmp.clear_cache()
|
||||
self.assertTrue(
|
||||
filecmp.cmp(
|
||||
output_metadata_file, expected_metadata_file, shallow=False))
|
||||
|
|
Loading…
Reference in New Issue
Block a user