We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b1a92 commit 0de60abCopy full SHA for 0de60ab
git/test/test_index.py
@@ -145,7 +145,9 @@ def add_bad_blob():
145
## 1st fail on purpose adding into index.
146
add_bad_blob()
147
except Exception as ex:
148
- assert "cannot convert argument to integer" in str(ex)
+ msg_py3 = "required argument is not an integer"
149
+ msg_py2 = "cannot convert argument to integer"
150
+ assert msg_py2 in str(ex) or msg_py3 in str(ex)
151
152
## 2nd time should not fail due to stray lock file
153
try:
0 commit comments