Commit graph

16 commits

Author SHA1 Message Date
Pavel Minaev
6340818a0e Enumerate installed packages & versions in the log as part of environment info. 2023-09-05 13:20:31 -07:00
Pavel Minaev
9997094101 Don't force-upgrade setuptools for test runs to avoid pkg_resources deprecation warning in gevent. 2023-09-05 13:20:31 -07:00
Pavel Minaev
12117683e7 Unpin greenlet in tests/requirements.txt 2023-08-16 14:58:54 -07:00
Pavel Minaev
4067700ed8 Pin greenlet==1.1.3 in test dependencies due to #1126 2022-11-16 15:32:19 -08:00
Pavel Minaev
4f12b1b47f Remove Python 2.7 from supported implementations and update versions of test packages. 2022-02-24 12:57:56 -08:00
Lumir Balhar
f14ba78c5c Do not install tox into tox
Having tox as a dependency in requirements files means that
it's also installed in all the tox environments.
2021-09-28 13:29:29 -07:00
Pavel Minaev
3a9f7d64c4 Assorted fixes for Python 3.10 support:
Split test/requirements.txt into two different lists, one for py2, and the other for py3; update package versions in py3 list as needed to support py3.10.

Fix usage of deprecated threading functions getName(), setName(), isDaemon(), and currentThread().

Refactor test_invalid_breakpoints to be more declarative to handle Python version differences more easily and clearly, and fix it for py3.10.

Disable Django tests on py3.10 (#689).

Disable gevent tests on py3.10 (#688).
2021-08-06 07:12:13 -03:00
Pavel Minaev
17ff9c8df9 Restrict pytest-xdist version number to support Python 2.7. 2020-08-19 14:50:44 -07:00
Karthik Nadig
984bf59ce0 Update to use latest flask in tests 2020-06-12 13:14:51 -07:00
Fabio Zadrozny
c53bd3345a
Properly use socket module private copy for gevent support. Fixes #1641 (#6) 2020-01-29 16:18:24 -03:00
Pavel Minaev
036812aef2 Re-pin Flask - still necessary. 2019-12-08 14:13:58 -08:00
Pavel Minaev
7687590f7f Remove unused dependencies and unnecessary version pins. 2019-12-08 14:13:58 -08:00
Pavel Minaev
0825dbeb37 Add code coverage for tests (excluding ptvsd.server and pydevd).
Fix some issues on Python 2.7.

Remove dead code.
2019-09-18 21:42:51 -07:00
Pavel Minaev
4cd1d4163f Fix #1585: Output tests fail sporadically
Wait on a breakpoint before checking output.

Add temp workaround for #1574: Flask tests fail with "no such option: --wait" on windows py27

Pin Flask version to last known good one in tests/requirements.txt.

Other fixes and improvements:

Make start_method mandatory for debug.Session to avoid problems with tests forgetting to specify it.

Add debug_me.scratchpad to enable async communication between test code and debuggee.

Improve debug.Session logging.

Improve test_attach.
2019-07-18 10:13:02 -07:00
Pavel Minaev
f71f0a5b0a Tests refactoring. (#1543) 2019-06-28 10:13:00 -07:00
Pavel Minaev
8cca9fcd7a Reorganize source code to reflect the split between the adapter proper and the debug server. 2019-05-23 15:14:50 -07:00
Renamed from test_requirements.txt (Browse further)