aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Reuse @ack_2to3 in TestDevelop.test_2to3_user_modeMiro Hrončok2020-05-121-3/+1
| | | | Fixes https://github.com/pypa/setuptools/issues/2100
* Emit deprecation warning when 2to3 is used. Ref #2086.Jason R. Coombs2020-05-101-0/+6
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-1/+1
|
* Remove outdated comment and suppressed exception from test_test.pyJon Dufresne2019-10-221-6/+2
| | | | | The test command has not called sys.exit since commit 2c4fd43277fc477d85b50e15c37b176136676270.
* Merge pull request #1881 from jdufresne/utf-8Paul Ganssle2019-10-221-1/+1
|\ | | | | Change coding cookie to use utf-8 (lowercase)
| * Change coding cookie to use utf-8 (lowercase)Jon Dufresne2019-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While perfectly valid, the encoding 'UTF-8' (uppercase) is not recognized by the Emacs MULE system. As such, it displays the following warning when opening a file with it used as an encoding cookie: Warning (mule): Invalid coding system ‘UTF-8’ is specified for the current buffer/file by the :coding tag. It is highly recommended to fix it before writing to a file. Some discussion of this can be found at: https://stackoverflow.com/questions/14031724/how-to-make-emacs-accept-utf-8-uppercase-encoding While the post does offer a workaround for Emacs users, rather than ask all to implement it, use the more typical utf-8 (lowercase).
* | Deprecate the test commandJon Dufresne2019-10-211-0/+50
|/ | | | | | | Provide a warning to users. Suggest using tox as an alternative generic entry point. Refs #1684
* Feed the hobgoblins (delint).Jason R. Coombs2019-01-261-1/+0
|
* Remove pytest marker and code for Python < 2.7Nikolaus Waxweiler2018-10-271-4/+0
|
* Mark Py 2/3-only tests as skip instead of xfailNikolaus Waxweiler2018-10-271-1/+1
| | | | | Also reuse pre-defined py2_only and py3_only decorators where appropriate.
* tests: check `test` command run tests only onceBenoit Pierre2017-11-021-2/+41
|
* tests: improve `test` command testBenoit Pierre2017-11-021-25/+26
| | | | | | | - cleanup test: we're not installing, so no need to override the user site, or skip the test when run with a virtual environment - use pytest support for capturing output (`context.quiet` does not work with Python 2), and check the output
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-1/+0
| | | | | --HG-- branch : feature/issue-229
* Merge with 10.2.1Jason R. Coombs2015-01-021-93/+59
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Update comment to reflect issue was reported in Distribute.Jason R. Coombs2015-01-021-1/+1
| |
| * Use unicode literals to define files as text, and encode specifically when ↵Jason R. Coombs2015-01-021-9/+3
| | | | | | | | saving files.
| * Extract varJason R. Coombs2015-01-021-2/+3
| |
| * Suppress exceptions in a context for clarity, brevity, and reuse.Jason R. Coombs2015-01-021-5/+2
| |
| * Use quiet contextJason R. Coombs2015-01-021-9/+6
| |
| * Replace setup/teardown with a shorter, more elegant fixture.Jason R. Coombs2015-01-021-37/+23
| |
| * Use useroverride fixtureJason R. Coombs2015-01-021-8/+1
| |
| * Use context openerJason R. Coombs2015-01-021-12/+12
| |
| * Use skipif marker for real_prefixJason R. Coombs2015-01-021-9/+3
| |
| * Python 2.6 can be assumedJason R. Coombs2015-01-021-3/+3
| |
| * Port test_test to pytestJason R. Coombs2015-01-021-4/+3
| |
| * Use DALS for nicer indentationJason R. Coombs2015-01-021-23/+29
| |
| * Remove unused importsJason R. Coombs2015-01-021-2/+0
| |
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-4/+5
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-2/+2
|
* Clean some imports.Arfrever Frehtes Taifersar Arahesis2014-02-151-2/+4
|
* Re-save test modules with UTF-8 encodingJason R. Coombs2013-06-171-6/+6
| | | | | | | --HG-- branch : distribute extra : rebase_source : 6728580b2f2f10026fe0f196db7ea5510acac704 extra : histedit_source : f4fbf02bbe3e4e39caf1aa2f5a354c99d9249e65
* Post-merge fixes for Python 3.Vinay Sajip2012-10-101-2/+2
| | | | | | --HG-- branch : distribute extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
* Oups.Lennart Regebro2012-08-241-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 515bd00c3028ba0d58e57fd51d524a798b9b898d
* Issue #310: Non-ascii characters in a namespace __init__.py causes errors.Lennart Regebro2012-08-221-6/+15
| | | | | | --HG-- branch : distribute extra : rebase_source : 668e1c79a2bcc314bcf1f7213b317766bb8511ab
* Added fix for the develop command, #299.Lennart Regebro2012-08-211-3/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : ef69472e5a9ce97d9102578898e81e516f06497a
* Added failing test for #299.Lennart Regebro2012-08-211-2/+0
| | | | | | --HG-- branch : distribute extra : rebase_source : 4a3ac76a6a49e06e1fecd1d6f4e08fa922f82f73
* Once the test is correctly setup, the problem actually goes away.Lennart Regebro2012-08-211-5/+9
| | | | | | --HG-- branch : distribute extra : rebase_source : 8a1c310010599165aa973bb207b07616428df66b
* Add failing test for #301.Lennart Regebro2012-08-211-0/+112
--HG-- branch : distribute extra : rebase_source : 2972e762cdab88e90c1c8b9b9a336afc641e996f