summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorHiroshi Miura <miurahr@nttdata.co.jp>2015-08-03 12:20:44 +0900
committerHiroshi Miura <miurahr@nttdata.co.jp>2015-08-06 18:50:33 +0900
commitbe0f1aad8a5ed6f8d61016902c713db609ad834c (patch)
tree59736094c2439b6238b4e888b8d1d287db1db7b0 /tox.ini
parenta056f1b3742812a2c861a0d01678dfed3b0087e4 (diff)
downloadpython-swiftclient-be0f1aad8a5ed6f8d61016902c713db609ad834c.tar.gz
change deprecated assertEquals to assertEqual
fix against H234: assertEquals() logs a DeprecationWarning in Python3.x. use assertEqual() instead. Closes-bug: #1480776 Change-Id: Iffda6bb5f2616d4af4567eeea37bb26531e34371 Signed-off-by: Hiroshi Miura <miurahr@nttdata.co.jp>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1008f5d..7aaec00 100644
--- a/tox.ini
+++ b/tox.ini
@@ -45,10 +45,11 @@ commands=
# H102 -> apache2 license exists
# H103 -> license is apache
# H201 -> no bare excepts
+# H234 -> assertEquals is deprecated, use assertEqual
# H238 -> old style classes are deprecated and not available in python3
# H501 -> don't use locals() for str formatting
# H903 -> \n not \r\n
ignore = H
-select = H102, H103, H201, H238, H501, H903
+select = H102, H103, H201, H234, H238, H501, H903
show-source = True
exclude = .venv,.tox,dist,doc,*egg