[ Root System Explorer ]
Location:
Root
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
gsutil
/
third_party
/
funcsigs
/
tests
+ Folder
+ File
Upload
Editing: test_formatannotation.py
import funcsigs import unittest2 as unittest class TestFormatAnnotation(unittest.TestCase): def test_string (self): self.assertEqual(funcsigs.formatannotation("annotation"), "'annotation'") def test_builtin_type (self): self.assertEqual(funcsigs.formatannotation(int), "int") def test_user_type (self): class dummy (object): pass self.assertEqual(funcsigs.formatannotation(dummy), "tests.test_formatannotation.dummy")
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 __init__.py
FILE
Ren
[EDIT]
DEL
📄 test_formatannotation.py
FILE
Ren
[EDIT]
DEL
📄 test_funcsigs.py
FILE
Ren
[EDIT]
DEL
📄 test_inspect.py
FILE
Ren
[EDIT]
DEL