Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cython
Commits
9a1e646a
Commit
9a1e646a
authored
16 years ago
by
Dag Sverre Seljebotn
Browse files
Options
Download
Plain Diff
merge
parents
20fe9ab6
a18effd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Cython/TestUtils.py
Cython/TestUtils.py
+9
-0
No files found.
Cython/TestUtils.py
View file @
9a1e646a
...
...
@@ -38,6 +38,15 @@ def treetypes(root):
class
CythonTest
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
listing_file
=
Errors
.
listing_file
self
.
echo_file
=
Errors
.
echo_file
Errors
.
listing_file
=
Errors
.
echo_file
=
None
def
tearDown
(
self
):
Errors
.
listing_file
=
self
.
listing_file
Errors
.
echo_file
=
self
.
echo_file
def
assertLines
(
self
,
expected
,
result
):
"Checks that the given strings or lists of strings are equal line by line"
if
not
isinstance
(
expected
,
list
):
expected
=
expected
.
split
(
u
"
\n
"
)
...
...
This diff is collapsed.
Click to expand it.
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