Debian Codegraph @

pypy/module/__builtin__/test/test_construct_singletons.py

raw symbols SCIP
1 class AppTestConstructSingletons:
2
3 def test_construct_singletons(self):
4 for const in None, Ellipsis, NotImplemented:
5 const_type = type(const)
6 assert const_type() is const
7 raises(TypeError, const_type, 1, 2)
8 raises(TypeError, const_type, a=1, b=2)