Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
badw-it
DHParser
Commits
93a58ddc
Commit
93a58ddc
authored
Nov 02, 2017
by
di68kap
Browse files
- test_toolkit.py: 'tmp' directory is not assumed to exist already
parent
c9a7e7a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_dsl.py
View file @
93a58ddc
...
...
@@ -90,6 +90,11 @@ class TestCompilerGeneration:
flag
=
True
if
not
flag
:
os
.
rmdir
(
'LOGS'
)
pycachedir
=
os
.
path
.
join
(
self
.
tmp
,
'__pycache__'
)
if
os
.
path
.
exists
(
pycachedir
):
for
fname
in
os
.
listdir
(
pycachedir
):
os
.
remove
(
os
.
path
.
join
(
pycachedir
,
fname
))
os
.
rmdir
(
pycachedir
)
if
os
.
path
.
exists
(
self
.
tmp
):
os
.
rmdir
(
self
.
tmp
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment