Skip to content

Commit

Permalink
tests/generate: move python code generators alongside code generated …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
vsergeev committed Dec 13, 2019
1 parent a6e1237 commit 5a83516
Show file tree
Hide file tree
Showing 65 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/generate/generate.py → tests/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def generate_spec(path, spec, dest):
serialized_vectors.append(spec_templates[vector.__class__.__name__] % (vector.desc, serialized_args, serialized_inputs, serialized_outputs))
s = spec_templates[spec.__class__.__name__] % (path, spec.name, "".join(serialized_vectors), spec.epsilon)

with open(os.path.join("tests", dest), "w") as f:
with open(dest, "w") as f:
f.write(s)


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5a83516

Please sign in to comment.