Hi there! I am trying to run the tests in my pyramid project. I have not changed the tests.py file in any way and yet I am getting the error below. The project uses the reportlab package but it's not referenced by the tests. What can I do to work around this issue?
Thanks, TW (env) C:\Data\prodash\prodash>python setup.py test > running test > running egg_info > writing requirements to prodash.egg-info\requires.txt > writing prodash.egg-info\PKG-INFO > writing top-level names to prodash.egg-info\top_level.txt > writing dependency_links to prodash.egg-info\dependency_links.txt > writing entry points to prodash.egg-info\entry_points.txt > reading manifest file 'prodash.egg-info\SOURCES.txt' > reading manifest template 'MANIFEST.in' > writing manifest file 'prodash.egg-info\SOURCES.txt' > running build_ext > Traceback (most recent call last): > File "setup.py", line 46, in <module> > """, > File "c:\Python27\Lib\distutils\core.py", line 152, in setup > dist.run_commands() > File "c:\Python27\Lib\distutils\dist.py", line 953, in run_commands > self.run_command(cmd) > File "c:\Python27\Lib\distutils\dist.py", line 972, in run_command > cmd_obj.run() > File > "C:\Data\prodash\env\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", > > line 121, in run > File > "C:\Data\prodash\env\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", > > line 101, in with > _project_on_sys_path > File > "C:\Data\prodash\env\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", > > line 130, in run_ > tests > File "c:\Python27\Lib\unittest\main.py", line 94, in __init__ > self.parseArgs(argv) > File "c:\Python27\Lib\unittest\main.py", line 149, in parseArgs > self.createTests() > File "c:\Python27\Lib\unittest\main.py", line 158, in createTests > self.module) > File "c:\Python27\Lib\unittest\loader.py", line 128, in > loadTestsFromNames > suites = [self.loadTestsFromName(name, module) for name in names] > File "c:\Python27\Lib\unittest\loader.py", line 103, in loadTestsFromName > return self.loadTestsFromModule(obj) > File > "C:\Data\prodash\env\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", > > line 34, in loadT > estsFromModule > File "c:\Python27\Lib\unittest\loader.py", line 103, in loadTestsFromName > return self.loadTestsFromModule(obj) > File > "C:\Data\prodash\env\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", > > line 34, in loadT > estsFromModule > File "c:\Python27\Lib\unittest\loader.py", line 122, in loadTestsFromName > raise TypeError("don't know how to make test from: %s" % obj) > TypeError: don't know how to make test from: > <reportlab.lib.styles.StyleSheet1 instance at 0x01F76918> > -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-devel/-/EhBZ5Z3f3v4J. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.