aboutsummaryrefslogtreecommitdiff
path: root/binary_search_tool/test/binary_search_tool_test.py
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:51:33 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:51:33 +0000
commit1430da15e99541183a2d740f7cc6b8b3c42e8cf2 (patch)
tree73936aba47fe1dc71e9cc05af9747036e935608c /binary_search_tool/test/binary_search_tool_test.py
parentb75f321fc8978b92ce3db6886ccb966768f0c7a8 (diff)
parent4e4201457e5f51a132101c611c79ccff9f713c8b (diff)
downloadtoolchain-utils-1430da15e99541183a2d740f7cc6b8b3c42e8cf2.tar.gz
Change-Id: I42e654e28c12d7f20bdac244d1fca60a3d6aa862
Diffstat (limited to 'binary_search_tool/test/binary_search_tool_test.py')
-rwxr-xr-xbinary_search_tool/test/binary_search_tool_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary_search_tool/test/binary_search_tool_test.py b/binary_search_tool/test/binary_search_tool_test.py
index ca9313b5..6f5b514e 100755
--- a/binary_search_tool/test/binary_search_tool_test.py
+++ b/binary_search_tool/test/binary_search_tool_test.py
@@ -202,7 +202,7 @@ class BisectingUtilsTest(unittest.TestCase):
f.write('test123')
bss = binary_search_state.MockBinarySearchState()
- with self.assertRaises(binary_search_state.Error):
+ with self.assertRaises(OSError):
bss.SaveState()
with open(state_file, 'r', encoding='utf-8') as f: