Dave Halter
e086c433ff
Fix compiled docstrings for stubs
2018-09-04 10:08:09 +02:00
Dave Halter
b3a07941bb
Fix issues with the current branch
2018-08-09 23:25:29 +02:00
Dave Halter
9ca7b30e38
Rewrite the pyc test
2018-08-03 23:59:55 +02:00
Dave Halter
1a4be5c91c
Bound methods are now working correctly in all Python versions. Therefore a test was wrong.
2018-08-03 00:25:25 +02:00
Dave Halter
e7a019e628
The implicit namespace package test from 4b276bae87 can only be used for Python 3.4+
2018-07-21 11:51:41 +02:00
Dave Halter
4b276bae87
The import resolution for namespace packages was wrong
...
With this change we can now include all parents of the script, which will make
relative imports always work.
Now the whole meta_path is scanned and not just importlib's PathFinder.
Fixes #1183 .
2018-07-21 00:16:10 +02:00
Dave Halter
d06e55aab5
The sys path might be lazy or not in a venv
2018-07-10 10:07:18 +02:00
Maxim Novikov
fc14aad8f2
Fix namespace autocompletion error
2018-05-03 09:12:17 +02:00
Dave Halter
27419be56d
Fix some issues with the latest changes
2018-04-12 14:24:18 +02:00
Dave Halter
1c91cfa9d6
Write a test for #1079 to avoid a regression in the future.
2018-04-10 19:23:20 +02:00
Dave Halter
81d8c49119
Write a test for venvs
2018-04-08 23:04:57 +02:00
Dave Halter
0c19219143
Obviously Python 3 syntax cannot be used in Python 2
2018-04-08 21:38:03 +02:00
Dave Halter
567c8b8097
Fix some fstring issues for now
2018-04-05 01:11:04 +02:00
Dave Halter
6b75519145
Better tests for fstrings
2018-03-31 18:38:09 +02:00
micbou
65a8ec6abc
Improve venv_and_pths test
...
Python is not necessarily installed in /usr/bin. Execute Python to find the
real prefix.
2018-03-24 20:52:51 +01:00
micbou
51b44032bd
Fix paths from assignment test on Windows
2018-03-23 00:35:57 +01:00
Dave Halter
a61742728b
Fix an issue with docstrings that contain errors
2018-03-20 00:56:53 +01:00
Dave Halter
60da6034c0
Fix some code_lines issues
2018-03-17 19:41:26 +01:00
Dave Halter
5f0b34a520
Add the module_path again
2018-03-16 10:30:11 +01:00
Dave Halter
cc9c9fc781
Clean up the namedtuple test for #1060
2018-03-16 10:28:51 +01:00
Dave Halter
90a226f898
All modules now have a code_lines attribute, see #1062
2018-03-16 10:20:26 +01:00
Dave Halter
d063dadcf7
Don't need the tests from #122
2018-03-05 01:01:43 +01:00
Dave Halter
0144de1290
Refactor the namespace package tests
2018-03-05 00:55:35 +01:00
Elvis Pranskevichus
3fb95e3a58
Add a failing test for nested PEP420 namespace packages
2018-03-05 00:18:30 +01:00
Dave Halter
2abcd0b6a6
Fix a few numpydocs tests
2018-02-28 23:44:50 +01:00
Dave Halter
482b5e63db
Move the buildout_project stuff to a separate examples folder
2018-02-16 15:01:40 +01:00
Dave Halter
c23005f988
Use generators instead of complicated return of lists
2018-02-16 14:50:07 +01:00
Dave Halter
9177c120f4
Merge the implicit namespace improvement (pkgutils.itermodules modification)
...
There are still a few issues that need to be addressed.
2018-02-15 20:08:58 +01:00
Dave Halter
c9fa335145
Fix a goto_assignments issue with a better internal API
...
Fixes #996 .
2018-01-29 08:58:59 +01:00
Dave Halter
d44385c25e
Fix the implicit namespace test
2018-01-26 01:16:08 +01:00
Dave Halter
04fba28d35
Differentiate between namespace and module as a type
...
Also fixed a bug related to implicit namespace contexts, fixes #1033 .
2018-01-25 20:35:54 +01:00
Dave Halter
94ce54e776
Merge with master again
...
Some bugs were still present in master
2018-01-20 21:45:55 +01:00
Dave Halter
20d64cf2b3
Fix issues with a recent refactoring
2018-01-20 21:21:58 +01:00
Dave Halter
d986c44b94
Merge with master
...
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Dave Halter
fe813292cf
Try to migrate to the new project API
2018-01-16 23:56:35 +01:00
Hugo
73c71d6475
This test will be removed in the virtualenv branch
2018-01-07 10:40:36 +02:00
Hugo
3e8cd9f128
Use set literals
2018-01-07 10:40:36 +02:00
Hugo
cc623218e5
Replace function call with set literal
2018-01-07 10:40:06 +02:00
Hugo
5755fcb900
Replace comparison with None with equality operator
2018-01-07 10:40:06 +02:00
Hugo
7c31ea9042
Drop support for EOL Python 2.6
2018-01-07 10:40:05 +02:00
Dave Halter
db47686159
Correct the issue about has_zlib
...
It was never actually the case that travis has Python versions without zlib. I didn't realize that modifying the sys path made it impossible to import the zlib library.
2018-01-06 03:34:37 +01:00
Dave Halter
e42796ca10
Move the zip tests to the environment
2018-01-06 02:26:30 +01:00
Dave Halter
99eed91206
Only execute the zipimport tests fully if zlib is available for the environment Python.
2018-01-06 02:11:33 +01:00
Dave Halter
4d896892a3
Skip some 3.3 tests for travis
...
Python 3.3 on travis doesn't have zip support compiled.
Just ignore tests since 3.3 is End-of-Life anyway.
2018-01-04 01:46:07 +01:00
Maxim Novikov
a2031d89b1
Fix tests
2018-01-02 18:24:38 +01:00
Maxim Novikov
78cbad0d08
Fix implicit namespace autocompletion. Resolves : #959
2018-01-02 18:17:48 +01:00
Dave Halter
4514373de6
Use unicode strings in test to pass some tests in Python 2
2017-12-30 04:36:59 +01:00
Dave Halter
a14f665b5a
Use Script everywhere where cwd_at is used, otherwise Python 2.7 is annoying
2017-12-30 03:55:23 +01:00
Dave Halter
f17afc6519
Try to avoid the pth tests not working because of the created virtualenv in tox
2017-12-30 03:15:28 +01:00
Dave Halter
e2629b680f
Test if virtualenvs and pth files work
2017-12-30 00:02:14 +01:00