Brian Curtin <cur...@acm.org> added the comment:

You could use the test skipping functionality present in trunk and beyond. 
Write a function to test whether the user has the necessary privileges, then 
use @unittest.skipUnless(has_admin_privs(), "can't test as regular user")

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1578269>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to