distutils appropriately, and errors would be emitted at the end
of the test suite.
:version: 0.9.7
:released:
+ .. change::
+ :tags: bug, tests
+ :versions: 1.0.0
+
+ Fixed bug where "python setup.py test" wasn't calling into
+ distutils appropriately, and errors would be emitted at the end
+ of the test suite.
+
.. change::
:tags: feature, postgresql
:versions: 1.0.0
--- /dev/null
+"""Quick and easy way to get setup.py test to run py.test without any
+custom setuptools/distutils code.
+
+"""
+import unittest
+import pytest
+
+class TestSuite(unittest.TestCase):
+ def test_sqlalchemy(self):
+ pytest.main()
license="MIT License",
cmdclass=cmdclass,
tests_require=['pytest >= 2.5.2', 'mock'],
- test_suite="pytest.main",
+ test_suite="sqlalchemy.testing.distutils_run",
long_description=readme,
classifiers=[
"Development Status :: 5 - Production/Stable",