summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-07-09 15:50:17 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-07-09 15:50:17 -0400
commit99350b159f736fe8c2c95eabb4d332d9fab73eb9 (patch)
treed1e9e41060a7b007051ca6513f5759ead7009057 /lib/sqlalchemy
parent450453ab1a5f5a1ce86d6f9dba6f1ae5f30c8f92 (diff)
downloadsqlalchemy-99350b159f736fe8c2c95eabb4d332d9fab73eb9.tar.gz
- 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.
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/testing/distutils_run.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/distutils_run.py b/lib/sqlalchemy/testing/distutils_run.py
new file mode 100644
index 000000000..d8f8f5931
--- /dev/null
+++ b/lib/sqlalchemy/testing/distutils_run.py
@@ -0,0 +1,10 @@
+"""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()