praw-dev/praw — pull request #127 by Damgaard (2012-09-25 17:24:32+00:00)
Title: Added mark_as_NSFW

I'm btw still unable to get the module to properly test my changes. With python 2.7 the command `python setup.py test` gives me this traceback

Traceback (most recent call last):
File "setup.py", line 43, in
test_suite='praw',
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:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", line 121, in run

File "c:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", line 101, in with_project_on_sys_path

File "c:\Python27\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:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", line 34, in loadTestsFromModule

File "c:\Python27\lib\unittest\loader.py", line 103, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "c:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\test.py", line 34, in loadTestsFromModule

File "c:\Python27\lib\unittest\loader.py", line 91, in loadTestsFromName
module = __import__('.'.join(parts_copy))
File "c:\users\andreas\dropbox\egen\kode\python\internet\reddit_api\praw\compat.py", line 37, in load_module
mod = getattr(package, module)
AttributeError: '_MovedItems' object has no attribute 'compat'