summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/versioned_history/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/versioned_history/__init__.py b/examples/versioned_history/__init__.py
index e6db1fc2c..1d271fb62 100644
--- a/examples/versioned_history/__init__.py
+++ b/examples/versioned_history/__init__.py
@@ -7,10 +7,13 @@ Compare to the :ref:`examples_versioned_rows` examples which write updates
as new rows in the same table, without using a separate history table.
Usage is illustrated via a unit test module ``test_versioning.py``, which can
-be run via nose::
+be run via ``py.test``::
+
+ # assume SQLAlchemy is installed where py.test is
+
+ cd examples/versioned_history
+ py.test test_versioning.py
- cd examples/versioning
- nosetests -v
A fragment of example usage, using declarative::