OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
funcsigs
/
tests
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/11/2024 09:39:44 AM
rwxr-xr-x
📄
__init__.py
0 bytes
04/25/2016 10:21:00 PM
rw-r--r--
📄
test_formatannotation.py
541 bytes
04/25/2016 10:21:00 PM
rw-r--r--
📄
test_funcsigs.py
3.19 KB
04/25/2016 10:21:00 PM
rw-r--r--
📄
test_inspect.py
36.34 KB
04/25/2016 10:21:00 PM
rw-r--r--
Editing: test_formatannotation.py
Close
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")