summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-05-25 16:45:16 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-05-25 16:45:16 -0400
commite5b2bc6c68b5285de69987aadc73e55449d70e55 (patch)
tree5433f09ab6301a549dcd52934482129c234dcdc0
parenta37218197731cce3f76cbe94f8b73d7b0ac4ebc9 (diff)
downloadpytest-runner-e5b2bc6c68b5285de69987aadc73e55449d70e55.tar.gz
Add a trivial test such that there is something to test (and pass).2.8
-rw-r--r--CHANGES.rst2
-rw-r--r--ptr.py6
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index f83b761..50ba14b 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -3,6 +3,8 @@
* #16: Added a license file, required for membership to
pytest-dev.
+* Releases are now made automatically by pushing a
+ tagged release that passes tests on Python 3.5.
2.7
~~~
diff --git a/ptr.py b/ptr.py
index 5c5287e..36a5154 100644
--- a/ptr.py
+++ b/ptr.py
@@ -23,6 +23,12 @@ def _save_argv(repl=None):
class PyTest(orig.test):
+ """
+ >>> import setuptools
+ >>> dist = setuptools.Distribution()
+ >>> cmd = PyTest(dist)
+ """
+
user_options = [
('extras', None, "Install (all) setuptools extras when running tests"),
('index-url=', None, "Specify an index url from which to retrieve "