diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-02-19 17:43:44 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-03-02 10:51:35 -0500 |
commit | fa0e65b77264476c61832542ab1a9dbedcc738ea (patch) | |
tree | 68267ce32f8700ec01234eca1faa21cb1a5ccd8e /test/functional/rpc_uptime.py | |
parent | fab5a1e0f492f920270c661954802749dfac5fa1 (diff) |
scripted-diff: test: Remove brackets after assert
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/assert ?\((.+)\)(( )*)?(#.*)?$/assert \1\3\3\4/g' $(git grep -l --extended-regexp 'assert ?\(' test)
-END VERIFY SCRIPT-
Diffstat (limited to 'test/functional/rpc_uptime.py')
-rwxr-xr-x | test/functional/rpc_uptime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_uptime.py b/test/functional/rpc_uptime.py index 20b6341550..d03775f04e 100755 --- a/test/functional/rpc_uptime.py +++ b/test/functional/rpc_uptime.py @@ -23,7 +23,7 @@ class UptimeTest(BitcoinTestFramework): def _test_uptime(self): wait_time = 10 self.nodes[0].setmocktime(int(time.time() + wait_time)) - assert(self.nodes[0].uptime() >= wait_time) + assert self.nodes[0].uptime() >= wait_time if __name__ == '__main__': |