Ronny Pfannschmidt
|
703e4b11ba
|
run black
|
2018-05-23 16:48:46 +02:00 |
Bruno Oliveira
|
1a880be85b
|
Remove unused import to fix linting
|
2018-05-01 19:08:29 -03:00 |
Brian Maissy
|
c258fe1459
|
--pdb treats KeyboardInterrupt as exception
|
2018-05-02 00:58:35 +03:00 |
Ronny Pfannschmidt
|
2241c98b18
|
Merge pull request #3331 from tonybaloney/breakpoint_support
Support for the new builtin breakpoint function in Python 3.7
|
2018-04-10 07:15:29 +02:00 |
Bruno Oliveira
|
0762666bd1
|
Remove unused pytestPDB import
|
2018-04-03 08:58:40 -03:00 |
Anthony Shaw
|
4d847593b3
|
remove a test that would fail because pytest is being used to test itself
|
2018-04-03 10:40:56 +10:00 |
Bruno Oliveira
|
804392e5f2
|
Fix tests that check that breakpoint function is configured/restored
* Execute pytest in a subprocess in cases of tests which change global
state
* Parametrize with --pdb and without the flag
|
2018-03-28 20:19:28 -03:00 |
Anthony Shaw
|
09e5a226dc
|
add broken test
|
2018-03-29 09:03:20 +11:00 |
Anthony Shaw
|
3998b70ff6
|
add test for custom environment variable
|
2018-03-28 09:02:37 +11:00 |
Anthony Shaw
|
f1f4c8c104
|
updates for code review recommendations
|
2018-03-27 17:38:17 +11:00 |
Anthony Shaw
|
e97bd87ee2
|
fix assertion when hypothesis is installed (which is should be for developing in pytest)
|
2018-03-23 16:24:15 +11:00 |
Anthony Shaw
|
242fb7852b
|
linting and removed double test
|
2018-03-23 15:39:34 +11:00 |
Anthony Shaw
|
db581eabcb
|
add tests to validate that --pdbcls custom debugger classes will be called when breakpoint() is used
|
2018-03-23 15:30:05 +11:00 |
Anthony Shaw
|
a1ff758d0d
|
"Added acceptance tests for configuration of sys.breakpointhook and resetting back when system default (pdb) is used""
|
2018-03-23 14:18:56 +11:00 |
Anthony Shaw
|
5a53b9aabb
|
move tests to test_pdb
|
2018-03-22 20:40:35 +11:00 |
Thomas Hisch
|
0f58fc881b
|
Add pdb test with disabled logging plugin
Implement the test from #3210, which was not merged yet, because the PR was
abandoned in favor or #3234.
|
2018-02-22 19:26:46 +01:00 |
Bruno Oliveira
|
7a62619a75
|
Merge remote-tracking branch 'upstream/master' into features
|
2018-02-21 10:39:55 -03:00 |
Thomas Hisch
|
51ece00923
|
Add captured-log support to --show-capture
Fixes: #3233
|
2018-02-18 20:18:37 +01:00 |
Bruno Oliveira
|
9d879bee36
|
Merge pull request #3215 from pytest-dev/bugfix/985/disable-output-capturing-in-doctest
Disable output capturing in doctest
|
2018-02-17 18:39:32 -02:00 |
Brian Maissy
|
069f32a8c4
|
print captured logs before entering pdb
|
2018-02-17 20:32:49 +02:00 |
Bruno Oliveira
|
6bc45d158d
|
Merge pull request #3186 from brianmaissy/bugfix/print_captured_stdout_before_entering_pdb
Added printing of captured stdout before entering pdb
|
2018-02-15 19:38:23 -02:00 |
Jason R. Coombs
|
247cdb835a
|
Remove xfail; tests now pass on macOS. Ref #985.
|
2018-02-13 12:41:19 -05:00 |
Brian Maissy
|
7656fc8320
|
Added printing of captured stdout and stderr before entering pdb
|
2018-02-12 23:17:51 +02:00 |
Brian Maissy
|
e64feaba7a
|
xfail is better than skip
|
2018-02-03 23:28:37 +02:00 |
Brian Maissy
|
74633815aa
|
skip failing pdb/doctest test on mac
|
2018-02-03 23:24:11 +02:00 |
Brian Maissy
|
4a3863c2e2
|
use flush in order to avoid hanging on mac
|
2018-01-14 23:00:23 +02:00 |
Jurko Gospodnetić
|
7feab7391d
|
simplify test_pdb_collection_failure_is_shown test data setup code
|
2017-12-09 13:34:56 +01:00 |
Andras Tim
|
7248b759e8
|
Fixed E303 flake8 errors
too many blank lines (3)
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
195a816522
|
Fixed E265 flake8 errors
block comment should start with ‘# ‘
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
8f3eb6dfc7
|
Fixed E261 flake8 errors
at least two spaces before inline comment
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
2e8caefcab
|
Fixed E225 flake8 errors
missing whitespace around operator
|
2017-07-17 01:44:22 +02:00 |
Bruno Oliveira
|
42a5d6bdfa
|
Add __future__ imports to all pytest modules
This prevents silly errors from creeping in Python 2 when testing in Python 3
|
2017-03-16 22:45:40 -03:00 |
Bruno Oliveira
|
1e0cf5ce4d
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
# Conflicts:
# AUTHORS
# CHANGELOG.rst
# _pytest/pytester.py
|
2017-03-10 15:54:05 -03:00 |
Michal Wajszczuk
|
fb0b90646e
|
New-style classes implemented for python 2.7 - #2147
|
2017-02-16 20:28:17 +01:00 |
mbyt
|
ad56cd8027
|
extract a _handle_skip method, secure PY2 branch
|
2017-02-02 05:01:51 +01:00 |
mbyt
|
d1c725078a
|
Allow to skip unittests if --pdb active
closes #2137
|
2017-01-31 04:47:31 +01:00 |
Bruno Oliveira
|
5ce551e469
|
Merge pull request #2075 from pytest-dev/master
Merge master into features after fixing flake8 errors
|
2016-11-22 14:10:31 -02:00 |
Bruno Oliveira
|
1eb5a690d4
|
Fix flake8 E305 and E306 errors
These errors started to appear with flake8-3.1.1, while they don't appear with
version 3.1.0 (weird).
|
2016-11-20 18:59:15 -02:00 |
Bruno Oliveira
|
efc54b2e56
|
Merge branch 'master' into merge-master-features
|
2016-11-11 18:56:53 -02:00 |
Jason R. Coombs
|
f2c01c5407
|
Restore pexpect tests and bypass isalive/wait on macOS. Ref #2022.
|
2016-10-21 12:36:42 -04:00 |
Jason R. Coombs
|
60a347aeb5
|
Also use flush where wait was called unconditionally
|
2016-10-21 12:11:35 -04:00 |
Jason R. Coombs
|
11ec96a927
|
Extract child flush as a staticmethod
|
2016-10-21 12:10:35 -04:00 |
David Szotten
|
d75748ef6f
|
test for calling set_trace with custom pdb cls
|
2016-09-21 09:45:26 +00:00 |
David Szotten
|
c7b4b8cf6f
|
test
|
2016-09-21 09:45:23 +00:00 |
mbyt
|
696a9112be
|
integrating review commets of @nicoddemus
plus small scale refactoring
|
2016-08-31 22:33:47 +02:00 |
mbyt
|
10b3274924
|
adding corresponding test, authors and changelog
|
2016-08-31 20:22:54 +02:00 |
Ronny Pfannschmidt
|
c4f20a1834
|
Merge pull request #1712 from anntzer/custom-debugger
Allow passing a custom Pdb subclass via --pdbcls.
|
2016-07-12 16:45:07 +02:00 |
Antony Lee
|
7ee3dd1cb5
|
Add tests for custom pdb class.
(and edit CHANGELOG)
|
2016-07-11 20:07:29 -07:00 |
Bruno Oliveira
|
458ecae1df
|
Replace all usages of "pytest_funcarg__" for @pytest.fixture
|
2016-07-11 22:21:52 -03:00 |
aostr
|
9a5224e2f8
|
Renamed the pdb module and changed unit tests accordingly
|
2016-06-25 12:37:31 +02:00 |