Commit Graph

26 Commits

Author SHA1 Message Date
Dave Halter
bc68266a68 Remove a todo that was a duplicate. 2017-05-26 13:01:50 -04:00
Dave Halter
dafffdc9b4 The parser cache in RAM has now grammar versioning. 2017-05-26 12:48:59 -04:00
Dave Halter
8ae5fc60d6 Moved the grammar object out of the cache module. 2017-05-26 12:17:45 -04:00
Dave Halter
976c5151af Rename source_tokens to tokenize and generate_tokens to tokenize_lines. 2017-05-26 12:01:35 -04:00
Dave Halter
6283577bc3 Actually implement the load_grammar properly. 2017-05-25 16:45:29 -04:00
Dave Halter
333046c253 load_python_grammar -> load_grammar. 2017-05-25 13:28:24 -04:00
Dave Halter
2fd4567d6f Add a test from jedi. 2017-05-24 00:42:17 -04:00
Dave Halter
f2c257d7dd Move the utility function parse to the __init__ script. 2017-05-24 00:08:58 -04:00
Dave Halter
5fab429163 Fix a diff parser issue with a test as well. 2017-05-22 15:37:26 -04:00
Dave Halter
7d3438c94d Move the parse function to the grammar. 2017-05-22 14:06:40 -04:00
Dave Halter
23d1470618 Add a more API focused grammar.
This makes it so we don't have to expose all the details of a pgen grammar to the user.
2017-05-21 17:02:15 -04:00
Dave Halter
d6a781744d Fix a small mistake. 2017-05-20 14:10:21 -04:00
Dave Halter
0bd16939f1 Add utils tests for splitlines and source_to_unicode. 2017-05-20 09:54:37 -04:00
Dave Halter
88f8e172d5 Fixed a bug where providing a cache_path did not really affect anything. 2017-05-19 16:28:07 -04:00
Dave Halter
2d46d1e307 Add a parso test. 2017-05-19 16:17:10 -04:00
Dave Halter
9b4bd34425 Use normal functions for some more tests. 2017-05-19 10:18:04 -04:00
Dave Halter
c1010008af Refactor code to allow only keyword-only arguments to the main function. 2017-05-18 17:16:42 -04:00
Dave Halter
799e99360c Remove the dependency to unittest. 2017-05-17 14:29:55 -04:00
Dave Halter
2d8d3cc157 Whitespace. 2017-05-17 14:16:36 -04:00
Dave Halter
b8005a4908 Remove a unittest.TestCase usage and replace it with pytest tests. 2017-05-17 14:15:57 -04:00
Dave Halter
a1675dfe2e Change the last few tests to remove jedi completely and now tox -e py35 passes. 2017-05-15 15:19:41 -04:00
Dave Halter
0e99c4912f Remove the last occurance of jedi in the test folder. 2017-05-15 15:10:23 -04:00
Dave Halter
6838fefda5 Remove more tests that are part of jedi and not parso. 2017-05-15 15:03:53 -04:00
Dave Halter
e94ab8ca55 Remove some tests that should not be part of jedi. 2017-05-15 14:51:49 -04:00
Dave Halter
206dfd113b Use jedi less in the tests. 2017-05-15 13:53:30 -04:00
Dave Halter
7445c303e3 A test suite imported from jedi. 2017-05-11 09:43:37 -04:00