removed duplicate + cout

This commit is contained in:
Thomas Ave 2016-05-30 18:55:00 +02:00
parent c1be1b7742
commit 83c73f1479
1 changed files with 0 additions and 3 deletions

View File

@ -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"))