tests: don't need separate module for id_allocation_test any more
This used to be because everything would explode while importing __main__ under py.test, but that was fixed months ago.pull/255/head
parent
dd48c41332
commit
633585524f
@ -1,10 +0,0 @@
|
||||
|
||||
import mitogen.core
|
||||
import mitogen.parent
|
||||
|
||||
|
||||
@mitogen.core.takes_econtext
|
||||
def allocate_an_id(econtext):
|
||||
mitogen.parent.upgrade_router(econtext)
|
||||
return econtext.router.allocate_id()
|
||||
|
Loading…
Reference in New Issue