repo.or.cz
/
docutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Minor edit of inline markup documentation (no change of behaviour).
[docutils.git]
/
test
/
test_parsers
/
__init__.py
blob
46fc50e06c33fe9bdd00a2689ef47c3c229ced1c
1
import
os
2
import
os
.
path
3
import
sys
4
5
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)))
6
prev
=
''
7
while
sys
.
path
[
0
] !=
prev
:
8
try
:
9
import
DocutilsTestSupport
10
break
11
except
ImportError
:
12
prev
=
sys
.
path
[
0
]
13
sys
.
path
[
0
] =
os
.
path
.
dirname
(
prev
)
14
sys
.
path
.
pop
(
0
)