Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
IPDSnelting
mjtest
Commits
7c898e5c
Commit
7c898e5c
authored
Nov 30, 2016
by
Johannes Bechberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue in BasicSyntaxTest.short_name
parent
e843d83b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mjtest/test/syntax_tests.py
mjtest/test/syntax_tests.py
+2
-1
No files found.
mjtest/test/syntax_tests.py
View file @
7c898e5c
...
...
@@ -29,7 +29,8 @@ class BasicSyntaxTest(TestCase):
if
self
.
file
.
startswith
(
subdir
):
test_dir
=
subdir
break
assert
test_dir
!=
None
if
test_dir
is
None
:
return
path
.
relpath
(
self
.
file
,
self
.
env
.
test_dir
)
return
path
.
relpath
(
self
.
file
,
test_dir
)
def
run
(
self
)
->
BasicTestResult
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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