Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In _join_daemon, don't use os.wait(). Instead, use waitpid, harmonizing the ↵ | Jason R. Coombs | 2018-09-09 | 1 | -17/+3 |
| | | | | Unix and Windows approaches, and fixes #1741. | ||||
* | Remove reliance on six | Jason R. Coombs | 2018-09-02 | 1 | -3/+2 |
| | |||||
* | Use bytes literals where appropriatev14.0.0 | Jason R. Coombs | 2018-02-04 | 1 | -1/+1 |
| | |||||
* | Use cheroot 5.9 for webtest module. | Jason R. Coombs | 2017-11-16 | 1 | -1/+2 |
| | |||||
* | Regarding E305, honor the style guide rather than suppressing errors. | Jason R. Coombs | 2017-10-29 | 1 | -1/+3 |
| | |||||
* | Honor E731 linter warning | Jason R. Coombs | 2017-10-28 | 1 | -1/+2 |
| | |||||
* | Mark docstrings with slash escaping as raw str (PR #1610 by @scop) | Ville Skyttä | 2017-07-10 | 1 | -1/+1 |
| | | | | * https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior (Python 3.6 invalid escape sequence deprecation) | ||||
* | Remove Python 2.6 compatibility behavior. | Jason R. Coombs | 2017-07-08 | 1 | -1/+1 |
| | |||||
* | Replace iteritems with six usage. | Jason R. Coombs | 2017-07-08 | 1 | -2/+3 |
| | |||||
* | Eliminate nose-testconfig completely | Sviatoslav Sydorenko | 2017-04-23 | 1 | -31/+8 |
| | |||||
* | Eliminate nose from test.helper | Sviatoslav Sydorenko | 2017-04-23 | 1 | -3/+3 |
| | |||||
* | PEP8fy codebase: eliminated E305 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -1/+1 |
| | |||||
* | Rely on portend for port checks. Fixes #1332. | Jason R. Coombs | 2017-01-19 | 1 | -2/+3 |
| | |||||
* | Convert cherryd script into console_script | Sviatoslav Sydorenko | 2017-01-10 | 1 | -1/+20 |
| | | | | | | Also: * remove ``cherrypy/cherryd`` * run cherryd as cherrypy.__main__ module to support Python 2.6 | ||||
* | Rely on backports.unittest_mock (and its pytest plugin) to supply mock. | Jason R. Coombs | 2016-12-26 | 1 | -5/+0 |
| | |||||
* | Make mock module be always accessed through helper | Sviatoslav Sydorenko | 2016-11-26 | 1 | -0/+5 |
| | |||||
* | Fix E265: block comment should start with '# ' | Sviatoslav Sydorenko | 2016-09-19 | 1 | -2/+1 |
| | |||||
* | Drop deprecated cherrypy._cpcompat_subprocess | Sviatoslav Sydorenko | 2016-09-17 | 1 | -6/+1 |
| | |||||
* | Convert all strings to conform single-quoted style | Sviatoslav Sydorenko | 2016-09-08 | 1 | -34/+34 |
| | | | | pre-commit run double-quote-string-fixer --all-files | ||||
* | Fix E402 in test/helper | Sviatoslav Sydorenko | 2016-09-08 | 1 | -8/+7 |
| | |||||
* | Drop conquer option from cherrypy.test.helper | Sviatoslav Sydorenko | 2016-08-31 | 1 | -10/+0 |
| | | | | Close #1484 | ||||
* | Ensure conf is text before writing it. | Jason R. Coombs | 2016-08-21 | 1 | -1/+2 |
| | |||||
* | Use io module to write text to a file | Jason R. Coombs | 2016-08-21 | 1 | -3/+3 |
| | |||||
* | Use decorators where appropriate. | Jason R. Coombs | 2016-08-03 | 1 | -3/+3 |
| | |||||
* | Use the preferred name text_or_bytes to avoid conflation with 'basestring' ↵ | Jason R. Coombs | 2016-07-24 | 1 | -3/+3 |
| | | | | which has no equivalent on Python 3. | ||||
* | Indicate that test fails intermittently. If nose had an 'xfail' like pytest, ↵ | Jason R. Coombs | 2016-05-10 | 1 | -1/+4 |
| | | | | I'd use that, but it seems it doesn't. Fixes #1420. | ||||
* | Put main test in body at top level. | Jason R. Coombs | 2016-05-10 | 1 | -3/+5 |
| | |||||
* | Add new argument to openURL for the testsuite to be able to | Joel Rivera | 2016-03-03 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raise subclasses of socket.error (since python3.3 OSError) instead of retrying. This fixes the KeyboardError problem for 3.5 by specifying that subclasses of BadStatusLine can be raised. The longer explanation of the fix: From python3.5 a new exception is retuned when the connection ends abruptly: http.client.RemoteDisconnected RemoteDisconnected is a subclass of: (ConnectionResetError, http.client.BadStatusLine) and ConnectionResetError is an indirect subclass of: OSError From python 3.3 an up socket.error is an alias to OSError following PEP-3151, therefore http.client.RemoteDisconnected is considered a socket.error. raise_subcls specifies the classes that are not going to be considered as a socket.error for the retries. Given that RemoteDisconnected is part BadStatusLine we can use the same call for all py3 versions without sideffects. python < 3.5 will raise directly BadStatusLine which is not a subclass for socket.error/OSError. Fixes issue #1406. | ||||
* | Removing useless comparison | Gustavo Picon | 2015-01-24 | 1 | -1/+1 |
| | |||||
* | Monkeypatch the test sorter to always run test_gc last in each suite. | Gustavo Picon | 2015-01-24 | 1 | -4/+15 |
| | | | | The previous method introduced in 12f77856280c doesn't work with the unittest subclassed test suites cherrypy uses. | ||||
* | Fix for recent commits which were causing a number of tests to fail in Python 3. | Allan Crooks | 2014-04-16 | 1 | -4/+5 |
| | |||||
* | Rather than trying to workaround which symbol can or cannot be imported, I ↵ | Lawouach | 2014-02-06 | 1 | -1/+6 |
| | | | | thought it'd be better to simply import the module in the helper since it's only used there. I also prevent it to be distributed with Python 2.7 as it doesn't need to | ||||
* | More PEP8 work. | Gustavo Picon | 2014-01-12 | 1 | -8/+13 |
| | |||||
* | Running: autopep8 -vvvvv -i `find . -name '*.py'` | Gustavo Picon | 2014-01-12 | 1 | -13/+32 |
| | | | | | --HG-- branch : autopep8 | ||||
* | Restore pid-in-file behavior for daemonized processes | Jason R. Coombs | 2012-12-26 | 1 | -0/+23 |
| | | | | | --HG-- branch : cherrypy-3.2.x | ||||
* | Use subprocess to manage the process and pid. Fixes #1198. | Jason R. Coombs | 2012-12-26 | 1 | -21/+4 |
| | | | | | --HG-- branch : cherrypy-3.2.x | ||||
* | Adding subprocess module from Python 2.7.3 and use that in the test helper. ↵ | Jason R. Coombs | 2012-12-26 | 1 | -3/+3 |
| | | | | | | | Fixes #1196. --HG-- branch : cherrypy-3.2.x | ||||
* | Use subprocess module (if available). Works around #1196 on Python 2.4+. | Jason R. Coombs | 2012-12-26 | 1 | -4/+8 |
| | | | | | --HG-- branch : cherrypy-3.2.x | ||||
* | Re-saved with excess whitespace removed. Removed unused import. | Jason R. Coombs | 2012-03-22 | 1 | -35/+35 |
| | | | | | --HG-- branch : cherrypy-3.2.x | ||||
* | A couple of Python 2.3 fixescherrypy-3.2.2 | Robert Brewer | 2011-10-18 | 1 | -2/+3 |
| | |||||
* | Fixed #1087 (PEP-3333 compliance: Unicode response headers). Also some ↵ | Robert Brewer | 2011-10-13 | 1 | -0/+2 |
| | | | | touch-ups to prevent refleaks. | ||||
* | Use an arbitrary high port (54583) instead of a common lower port (8080) for ↵ | Joseph Tate | 2011-09-23 | 1 | -1/+1 |
| | | | | running tests | ||||
* | Bye bye, py2/3. | Robert Brewer | 2011-07-02 | 1 | -0/+491 |
| | |||||
* | Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunk | Robert Brewer | 2011-02-25 | 1 | -476/+0 |
| | | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install. | ||||
* | trunk: sync with python3 | Robert Brewer | 2011-02-25 | 1 | -2/+4 |
| | |||||
* | Compat fixes for Python 2.3 | Robert Brewer | 2011-02-24 | 1 | -6/+5 |
| | |||||
* | Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away. | Robert Brewer | 2011-02-24 | 1 | -6/+7 |
| | |||||
* | trunk sync with python3 | Robert Brewer | 2011-02-23 | 1 | -3/+3 |
| | |||||
* | New test/modfastcgi.py (I couldn't get mod_fcgid working well with our test ↵ | Robert Brewer | 2011-02-22 | 1 | -10/+17 |
| | | | | suite on nix). | ||||
* | testAdditionalServers was causing test_states to hang because the former did ↵ | Robert Brewer | 2011-02-21 | 1 | -2/+2 |
| | | | | not stop() all its servers. |