summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-03-24 22:24:43 +0200
committerYuval Adam <yuval@y3xz.com>2016-03-24 22:24:43 +0200
commitc4c6b4e7c17e5b96d86828a3bc809a1c6c9559df (patch)
tree2f3b37f5740f134619211e627fccadc441f78f10 /test.py
parentf8ec6c5a397d884a039811aac8d64d2759fe0b6f (diff)
Extract parse_const
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index c0cfc10..f203615 100644
--- a/test.py
+++ b/test.py
@@ -22,7 +22,7 @@ class TestViewState(unittest.TestCase):
def test_parse_const_value(self):
vs = ViewState()
vs.raw = b'\xff\x01\x67'
- self.assertEquals(vs.decode(), True)
+ self.assertEqual(vs.decode(), True)
if __name__ == '__main__':
unittest.main()