how are you running them?

it isn't reporting any "failure", this seems like it's finding a bad
test case.   do you have any test.py type stuff it might be hitting?



On 7/8/14, 5:56 PM, Jason Newton wrote:
> Any thoughts on why the unit testing is failing?
>
> platform linux2 -- Python 2.7.6 -- py-1.4.20 -- pytest-2.5.2 --
> /usr/bin/python
>
> ....
>
> ========================================================== 5776
> passed, 688 skipped in 139.77 seconds
> ===========================================================
> Traceback (most recent call last):
>   File "setup.py", line 165, in <module>
>     run_setup(True)
>   File "setup.py", line 146, in run_setup
>     **kwargs
>   File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
>     dist.run_commands()
>   File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python2.7/site-packages/setuptools/command/test.py",
> line 146, in run
>     self.with_project_on_sys_path(self.run_tests)
>   File "/usr/lib/python2.7/site-packages/setuptools/command/test.py",
> line 127, in with_project_on_sys_path
>     func()
>   File "/usr/lib/python2.7/site-packages/setuptools/command/test.py",
> line 167, in run_tests
>     testRunner=self._resolve_as_ep(self.test_runner),
>   File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs
>     self.createTests()
>   File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests
>     self.module)
>   File "/usr/lib64/python2.7/unittest/loader.py", line 130, in
> loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File "/usr/lib64/python2.7/unittest/loader.py", line 122, in
> loadTestsFromName
>     (obj, test))
> TypeError: calling <function main at 0x2d3b500> returned 0, not a test
>
>
> -Jason
> -- 
> You received this message because you are subscribed to the Google
> Groups "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sqlalchemy+unsubscr...@googlegroups.com
> <mailto:sqlalchemy+unsubscr...@googlegroups.com>.
> To post to this group, send email to sqlalchemy@googlegroups.com
> <mailto:sqlalchemy@googlegroups.com>.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to