Home
last modified time | relevance | path

Searched refs:tabnanny (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_tabnanny.py1 """Testing `tabnanny` module.
9 import tabnanny namespace
83 """Testing `tabnanny.format_witnesses()`."""
96 self.assertEqual(tabnanny.format_witnesses(words), expected)
100 """Testing `tabnanny.errprint()`."""
103 """Asserting result of `tabnanny.errprint()` by giving sample inputs."""
114 tabnanny.errprint(*args)
120 """Asserting behaviour of `tabnanny.NannyNag` exception."""
123 tabnanny.NannyNag(0, "foo", "bar"),
127 tabnanny
[all...]
/third_party/python/Lib/idlelib/
H A Drunscript.py4 Also run the tabnanny to catch any inconsistent tabs.
13 import tabnanny namespace
57 if not self.tabnanny(filename):
61 def tabnanny(self, filename): member in ScriptBinding
62 # XXX: tabnanny should work on binary files as well
65 tabnanny.process_tokens(tokenize.generate_tokens(f.readline))
72 except tabnanny.NannyNag as nag:
73 # The error messages from tabnanny are too confusing...
132 if not self.tabnanny(filename):
/third_party/python/Tools/importbench/
H A Dimportbench.py16 import tabnanny namespace
96 tabnanny_wo_bytecode = _wo_bytecode(tabnanny)
131 tabnanny_writing_bytecode = _writing_bytecode(tabnanny)
161 tabnanny_using_bytecode = _using_bytecode(tabnanny)

Completed in 2 milliseconds