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:
José Augusto 2020-04-06 09:11:06 -03:00 committed by GitHub
parent c0007818bd
commit 5151db48b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
.project
.idea
.pydevproject
.vscode
## VCS
/.bzr

View File

@ -8,23 +8,23 @@
>>> signalman.new(widget, 'test1', handler)
1
>>> signalman.cnxids[widget].keys()
['test1']
dict_keys(['test1'])
>>> widget.signals.values()
['test1']
dict_values(['test1'])
>>> signalman.remove_widget(widget)
>>> signalman.cnxids.has_key(widget)
>>> widget in signalman.cnxids
False
>>> widget.signals.values()
[]
dict_values([])
>>> signalman.new(widget, 'test2', handler)
2
>>> signalman.new(widget, 'test3', handler)
3
>>> signalman.remove_signal(widget, 'test2')
>>> signalman.cnxids[widget].keys()
['test3']
dict_keys(['test3'])
>>> widget.signals.values()
['test3']
dict_values(['test3'])
>>> signalman.remove_widget(widget)
>>>