diff options
author | zax <zach.smith@makespace.com> | 2015-11-01 17:05:51 -0500 |
---|---|---|
committer | zax <zach.smith@makespace.com> | 2015-11-01 17:05:51 -0500 |
commit | a10a99490c1a05979553f2454f77f46b71cf9977 (patch) | |
tree | ead19b68c170be43dc8b28939381aa8d3dc7a16d | |
parent | 12c33a490480e49009952c5133c1a5836f6e87ab (diff) | |
download | pycco-a10a99490c1a05979553f2454f77f46b71cf9977.tar.gz |
Organize imports
-rw-r--r-- | tests/test_pycco.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_pycco.py b/tests/test_pycco.py index 90a40fd..9ae5b35 100644 --- a/tests/test_pycco.py +++ b/tests/test_pycco.py @@ -1,20 +1,23 @@ import copy +import os import tempfile + import pytest -import os -import re from hypothesis import given, example, assume from hypothesis.strategies import lists, text, booleans, choices, none import pycco.main as p + PYTHON = p.languages['.py'] PYCCO_SOURCE = 'pycco/main.py' FOO_FUNCTION = """def foo():\n return True""" + def get_language(choice): return choice(list(p.languages.values())) + @given(lists(text()), text()) def test_shift(fragments, default): if fragments == []: |