removed duplicate + cout
This commit is contained in:
parent
c1be1b7742
commit
83c73f1479
|
@ -11,7 +11,6 @@ REGEXES_DATA = [ # (regexes, should be accepted)
|
|||
|
||||
([r"[[]", r"[]]", r"[]-[]", r"[][-]"], True),
|
||||
([r"[^^]", r"[^]-[]", r"[^][-]"], True),
|
||||
([r"[^^]", r"[^]-[]", r"[^][-]"], True),
|
||||
([r"[ ^]", r"[ ^-X ]", r"[]-^]"], True),
|
||||
([r"[^-X]", r"[^][]"], True),
|
||||
([r"[-]", r"[]-]"], True),
|
||||
|
@ -56,8 +55,6 @@ EXAMPLE_TESTS = { #Mapping from test name to executable and number of availabl
|
|||
|
||||
def make_pipeline_test(regexes, should_accept, idx):
|
||||
def test(self):
|
||||
if idx == 21:
|
||||
print(regexes)
|
||||
p = subprocess.Popen([os.path.join(args.builddir, "src", "Lexesis-test"), "test_%s" % idx, data_dir], stdin=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||
p.communicate(bytes("\n".join(regexes) + "\n", "utf-8"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue