Converting to python 3 and making all tests pass. (#9)
* Adding vscode dir with the config files. * make all tests pass.
This commit is contained in:
parent
c0007818bd
commit
5151db48b1
|
@ -4,6 +4,7 @@
|
||||||
.project
|
.project
|
||||||
.idea
|
.idea
|
||||||
.pydevproject
|
.pydevproject
|
||||||
|
.vscode
|
||||||
|
|
||||||
## VCS
|
## VCS
|
||||||
/.bzr
|
/.bzr
|
||||||
|
|
|
@ -8,23 +8,23 @@
|
||||||
>>> signalman.new(widget, 'test1', handler)
|
>>> signalman.new(widget, 'test1', handler)
|
||||||
1
|
1
|
||||||
>>> signalman.cnxids[widget].keys()
|
>>> signalman.cnxids[widget].keys()
|
||||||
['test1']
|
dict_keys(['test1'])
|
||||||
>>> widget.signals.values()
|
>>> widget.signals.values()
|
||||||
['test1']
|
dict_values(['test1'])
|
||||||
>>> signalman.remove_widget(widget)
|
>>> signalman.remove_widget(widget)
|
||||||
>>> signalman.cnxids.has_key(widget)
|
>>> widget in signalman.cnxids
|
||||||
False
|
False
|
||||||
>>> widget.signals.values()
|
>>> widget.signals.values()
|
||||||
[]
|
dict_values([])
|
||||||
>>> signalman.new(widget, 'test2', handler)
|
>>> signalman.new(widget, 'test2', handler)
|
||||||
2
|
2
|
||||||
>>> signalman.new(widget, 'test3', handler)
|
>>> signalman.new(widget, 'test3', handler)
|
||||||
3
|
3
|
||||||
>>> signalman.remove_signal(widget, 'test2')
|
>>> signalman.remove_signal(widget, 'test2')
|
||||||
>>> signalman.cnxids[widget].keys()
|
>>> signalman.cnxids[widget].keys()
|
||||||
['test3']
|
dict_keys(['test3'])
|
||||||
>>> widget.signals.values()
|
>>> widget.signals.values()
|
||||||
['test3']
|
dict_values(['test3'])
|
||||||
>>> signalman.remove_widget(widget)
|
>>> signalman.remove_widget(widget)
|
||||||
>>>
|
>>>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue