Skip to content

Commit

Permalink
More unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lsankar4033 committed Aug 13, 2020
1 parent e2ec241 commit 7648977
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import argparse
import sys
import trio

from eth2spec.utils.ssz.ssz_typing import Container
from pyrum import SubprocessConn, Rumor

from lib.console import ConsoleWriter

def with_rumor(async_run_fn):
async def wrapped_run_fn(args):
async with SubprocessConn(cmd='rumor bare --level=trace') as conn:
Expand All @@ -21,17 +18,6 @@ async def wrapped_run_fn(args):

return wrapped_run_fn


def parse_args(*args):
parser = argparse.ArgumentParser()
req_grp = parser.add_argument_group(title='required')

for arg in args:
req_grp.add_argument(arg, required=True)

return parser.parse_args()


def compare_containers(expected: Container, actual: Container):
if expected != actual:
error_str = ''
Expand Down

0 comments on commit 7648977

Please sign in to comment.