Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
70def42a
Commit
70def42a
authored
Jul 07, 2019
by
samaingw
Committed by
Stefan Behnel
Jul 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cpp tag to some cpp error tests (#3033)
parent
31681dc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
tests/errors/cimport_attributes.pyx
tests/errors/cimport_attributes.pyx
+5
-4
tests/errors/cpp_object_template.pyx
tests/errors/cpp_object_template.pyx
+3
-2
No files found.
tests/errors/cimport_attributes.pyx
View file @
70def42a
# mode: error
# tag: cpp
cimport
libcpp
...
...
@@ -24,8 +25,8 @@ print my_map_with_shadow.python_attribute # OK (if such a module existed at ru
_ERRORS
=
u"""
5
:12: cimported module has no attribute 'no_such_attribute'
8
:16: cimported module has no attribute 'no_such_attribute'
1
1
:12: cimported module has no attribute 'no_such_attribute'
1
4
:15: cimported module has no attribute 'no_such_attribute'
6
:12: cimported module has no attribute 'no_such_attribute'
9
:16: cimported module has no attribute 'no_such_attribute'
1
2
:12: cimported module has no attribute 'no_such_attribute'
1
5
:15: cimported module has no attribute 'no_such_attribute'
"""
tests/errors/cpp_object_template.pyx
View file @
70def42a
# mode: error
# tag: cpp
from
libcpp.vector
cimport
vector
...
...
@@ -12,6 +13,6 @@ def main():
va
.
push_back
(
A
())
_ERRORS
=
u"""
9
:16: Python object type 'Python object' cannot be used as a template argument
1
1
:16: Python object type 'A' cannot be used as a template argument
10
:16: Python object type 'Python object' cannot be used as a template argument
1
2
:16: Python object type 'A' cannot be used as a template argument
"""
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