OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:codestr
(Results
1 - 6
of
6
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_new.py
65
codestr
= '''
72
codestr
= "\n".join(l.strip() for l in
codestr
.splitlines())
74
ccode = compile(
codestr
, '<string>', 'exec')
test_decorators.py
161
codestr
= "@%s\ndef f(): pass" % expr
162
self.assertRaises(SyntaxError, compile,
codestr
, "test", "exec")
179
codestr
= "@%s\ndef f(): pass\nassert f() is None" % expr
180
code = compile(
codestr
, "test", "exec")
test_with.py
135
def assertRaisesSyntaxError(self,
codestr
):
138
self.assertRaises(SyntaxError, shouldRaiseSyntaxError,
codestr
)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_new.py
65
codestr
= '''
72
codestr
= "\n".join(l.strip() for l in
codestr
.splitlines())
74
ccode = compile(
codestr
, '<string>', 'exec')
test_decorators.py
161
codestr
= "@%s\ndef f(): pass" % expr
162
self.assertRaises(SyntaxError, compile,
codestr
, "test", "exec")
179
codestr
= "@%s\ndef f(): pass\nassert f() is None" % expr
180
code = compile(
codestr
, "test", "exec")
test_with.py
135
def assertRaisesSyntaxError(self,
codestr
):
138
self.assertRaises(SyntaxError, shouldRaiseSyntaxError,
codestr
)
Completed in 2580 milliseconds