Commit Graph

412 Commits

Author SHA1 Message Date
Dave Halter 1ad4003740 Messed up a Windows test 2019-08-11 20:12:33 +02:00
Dave Halter 1108ad9994 Again a small windows issue fixed. 2019-08-11 20:01:12 +02:00
Dave Halter f7f9b1e5ec Need to escape the path backslash for windows slashes 2019-08-11 19:56:57 +02:00
Dave Halter c3d40949b1 Make it possible to access properties again
This time we catch all exceptions and try to avoid issues for the user.

This is only happening when working with an Interpreter. I don't feel this is
necessary otherwise.

See #1299
2019-08-11 16:24:19 +02:00
Dave Halter ab80646b86 Fix an issue with type vars that might have been a problem for other things as well 2019-08-11 01:28:09 +02:00
Dave Halter 3d0ac09fc9 Don't add quotes after paths if they are already there 2019-08-10 18:37:10 +02:00
Dave Halter 463cbb1595 Fix one more os.path.join issue 2019-08-08 09:31:13 +02:00
Dave Halter 03608151e8 Fix more issues with os.path path completion 2019-08-08 01:48:25 +02:00
Dave Halter 822394663c Make join detection much easier 2019-08-08 01:04:08 +02:00
Dave Halter 52517f78b1 Fix some remaining issues with file path completions 2019-08-07 23:00:27 +02:00
Dave Halter a191b7b458 A few more tests for path completions (join) 2019-08-07 21:11:48 +02:00
Dave Halter e68273c0ff Fix quote completions for os.path.join path completions 2019-08-07 20:55:12 +02:00
Dave Halter aeff5faa3d Fix first param argument of os.path.join file completions 2019-08-07 20:39:47 +02:00
Dave Halter 0fd3757a51 Fix arglist/trailer issues 2019-08-07 10:16:05 +02:00
Dave Halter 1b064c1078 in os.path.join completions, directories should not end in a slash 2019-08-07 01:37:58 +02:00
Dave Halter 5726c29385 Make some file path completions in os.path.join work 2019-08-07 01:34:46 +02:00
Dave Halter 7c1c4981fb Fix os.path.join static value gathering 2019-08-06 22:48:28 +02:00
Dave Halter 81488bcd20 os.path.sep should always have a clear value 2019-08-06 19:57:16 +02:00
Dave Halter 99008eef43 Fix string name completion for stuff like dirname and abspath 2019-08-06 19:38:16 +02:00
Dave Halter 3a9dc0ca2e Fix bytes issue with file path adding 2019-08-06 01:08:57 +02:00
Dave Halter 98a550e352 Python 2 compatibility 2019-08-06 00:42:02 +02:00
Dave Halter b7c2bacbd2 Fix string additions when used in certain ways 2019-08-05 10:11:36 +02:00
Dave Halter 8108122347 Make string additions work for file path completion
With this most simple cases of file path completions should be working now, fixes #493
2019-08-05 01:43:50 +02:00
Dave Halter 45dada9552 Fix interpeter project path 2019-08-05 00:43:37 +02:00
Dave Halter e008a515e3 Fix a few more file name completion cases 2019-08-04 22:43:23 +02:00
Dave Halter fd1e6afd07 A first iteration for file path completions 2019-08-04 13:50:23 +02:00
Dave Halter 9dd088f3db Fix a test failure 2019-08-03 14:58:57 +02:00
Dave Halter 8e1417e3ce Add Definition.execute, fixes #1076 2019-08-03 02:01:30 +02:00
Dave Halter c737e3ee40 Skip more Python 2 tests 2019-08-02 15:54:10 +02:00
Dave Halter 4c3d4508e9 Skipping of tests was done the wrong way again 2019-08-02 15:50:06 +02:00
Dave Halter 70bcc9405f Skip the right tests 2019-08-02 15:25:20 +02:00
Dave Halter 6a82f60901 Parameter.kind is not avaialble in Python 3.5 2019-08-02 13:49:01 +02:00
Dave Halter 814998253a Fix Python 2 test issues 2019-08-02 13:44:04 +02:00
Dave Halter a22c6da89f Add a few docstrings to make some things clearer 2019-08-02 13:16:18 +02:00
Dave Halter 876a6a5c22 Add ParamDefinition.kind, fixes #1361 2019-08-02 13:11:41 +02:00
Dave Halter 642e8f2aa6 Make it possible to format a param to a string, fixes #1074 2019-08-02 12:17:58 +02:00
Dave Halter a64ef2759c Add another test for signature annotations 2019-08-02 12:17:58 +02:00
Dave Halter ca6a7215e2 Test infer_default 2019-08-02 10:41:04 +02:00
Dave Halter 24db05841b Add a execute_annotation option to infer_annotation 2019-08-02 10:24:15 +02:00
Dave Halter 375d1d57fb Test infer_annotation 2019-08-02 10:00:17 +02:00
Dave Halter a803d687e2 Skipped Python 2 Interpreter tests the wrong way 2019-07-24 13:44:26 +02:00
Dave Halter 05d9602032 Fix partial signatures for MixedObject
Now a MixedObject return the signatures of its CompiledObject all the time, fixes #1371
2019-07-24 12:58:20 +02:00
Dave Halter 3d08eb92d5 Very small refactoring 2019-07-23 13:08:57 +02:00
Johannes-Maria Frank 02d16ac55c Fix for failing assertion on native modules Issue #1354 (#1370) 2019-07-23 13:02:08 +02:00
Dave Halter a06d760f45 Use fixture names everywhere 2019-07-10 23:26:59 -07:00
Dave Halter b7687fcfb7 Cleanup a test file 2019-07-10 23:23:18 -07:00
Dave Halter 0ec86d5034 Use parametrize instead of TestCase 2019-07-10 23:22:10 -07:00
Dave Halter cef23f44cd Remove a TestCase class usage 2019-07-10 19:32:19 -07:00
Dave Halter e889a4923e Use pytest.mark.parametrize for something instad of a class 2019-07-10 19:04:12 -07:00
Dave Halter 114aba462c Use the names fixture even more 2019-07-10 19:00:24 -07:00