5 from dbus_py_test
import UnusableMainLoop
8 UnusableMainLoop(set_as_default
=True)
10 bus
= dbus
.SessionBus()
12 print "Correctly got ValueError from UnusableMainLoop"
14 raise AssertionError("Expected ValueError from UnusableMainLoop")
16 if __name__
== '__main__':