Skip to content

Commit 8b0fa6b

Browse files
Change test to pass with pytypes for now
1 parent 1477cfe commit 8b0fa6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

multipledispatch/dispatcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ def add(self, signature, func, on_ambiguity=ambiguity_warn):
141141
142142
>>> D(1, 2)
143143
3
144-
>>> D(1, 2.0)
144+
>>> D('1', 2.0)
145145
Traceback (most recent call last):
146146
...
147-
NotImplementedError: Could not find signature for add: <int, float>
147+
NotImplementedError: Could not find signature for add: <str, float>
148148
>>> D('s')
149149
's'
150150
>>> D(None)

0 commit comments

Comments
 (0)