Commit 9e41bfbf authored by Stefan Behnel's avatar Stefan Behnel

fix test

parent 2da19a69
...@@ -53,16 +53,11 @@ def test_nested_qualname(): ...@@ -53,16 +53,11 @@ def test_nested_qualname():
'test_nested_qualname.<locals>.outer.<locals>.Test' 'test_nested_qualname.<locals>.outer.<locals>.Test'
>>> func().test.__qualname__ >>> func().test.__qualname__
'test_nested_qualname.<locals>.outer.<locals>.Test.test' 'test_nested_qualname.<locals>.outer.<locals>.Test.test'
>>> func()().__qualname__
'test_nested_qualname.<locals>.outer.<locals>.Test'
>>> func()().test.__qualname__ >>> func()().test.__qualname__
'test_nested_qualname.<locals>.outer.<locals>.Test.test' 'test_nested_qualname.<locals>.outer.<locals>.Test.test'
>>> func()().test().__qualname__ >>> func()().test().__qualname__
'XYZinner' 'XYZinner'
>>> func()().test()().__qualname__
'XYZinner'
>>> lambda_func.__qualname__ >>> lambda_func.__qualname__
'test_nested_qualname.<locals>.<lambda>' 'test_nested_qualname.<locals>.<lambda>'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment