Upgrade origin-src to google transit feed 1.2.6
[bus.git] / origin-src / util.pyc
1
2
3 Z
4
5
6
7
8 installed on my system. Raises an Exception if the return code is not
9 expected_retcode. Returns a tuple of strings, (stdout, stderr).tstdouttstderrtstdinsDon't pass stdout or stderrsWhen running %s: %sis6Child '%s' was terminated by signal %d. Output:
10 %s
11 %s
12 s&Child '%s' returned %d. Output:
13 %s
14 %s
15 (t Exceptiont
16 subprocesstPopentPIPEt communicatet
17 returncode( tcmdtexpected_retcodet stdin_strtkwargstptoutterrtretcodete((s:/home/anog/workspace/transitfeed-1.2.5/python/test/util.pyt
18
19
20
21 and remove it after the test.
22
23 |d t
24
25 transitfeed' will use the module in this source tree. Raises an Exception
26 if the return code is not expected_retcode. Returns a tuple of strings,
27 (stdout, stderr).t transitfeeds\t/iit:t
28 PYTHONPATHs-csWimport sys; sys.path.insert(0,'%s'); sys.argv = ['%s'] + sys.argv[1:]; exec(open('%s'))R tshelltenvR ( R8R,trfindtreplacetrstripR-tsysR)t
29 executableRtFalse( RR
30 R R ttf_pathttransitfeed_parentt script_patht script_argsR=((s:/home/anog/workspace/transitfeed-1.2.5/python/test/util.pytCheckCallWithPathbs 
31
32
33
34
35 Args:
36 test_case: a unittest.TestCase object on which to report problems
37 ignore_types: sequence of string type names that will be ignored by the
38
39 exceptionst
40
41
42 
43
44
45 with gtfs file context %s
46 and traceback
47
48
49 
50
51
52
53