aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/script.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-10-16 21:46:23 -0400
committerJohn Newbery <john@johnnewbery.com>2017-10-16 21:46:23 -0400
commitf893085325b57dd07bde78a01e5dcb7d303154de (patch)
treedd0fcd3155fde2b3a50f6cfee75f482d857c185b /test/functional/test_framework/script.py
parent8f9e3627ef054c9732f4e529c6ed429ed8dc7183 (diff)
[tests] Don't subclass from object for Python 3
Diffstat (limited to 'test/functional/test_framework/script.py')
-rw-r--r--test/functional/test_framework/script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/script.py b/test/functional/test_framework/script.py
index 8f5339a02a..a4c046bd3d 100644
--- a/test/functional/test_framework/script.py
+++ b/test/functional/test_framework/script.py
@@ -370,7 +370,7 @@ class CScriptTruncatedPushDataError(CScriptInvalidError):
super(CScriptTruncatedPushDataError, self).__init__(msg)
# This is used, eg, for blockchain heights in coinbase scripts (bip34)
-class CScriptNum(object):
+class CScriptNum():
def __init__(self, d=0):
self.value = d