Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
7314ebae
"hw-tests/api-demo/flash.gdb" did not exist on "0df3f9d0c024b3aeb508deed7c2a84657230388d"
Commit
7314ebae
authored
8 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
tests/misc/non_compliant: Add test for inability to assign func attrs.
parent
fb583804
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/misc/non_compliant.py
+8
-0
8 additions, 0 deletions
tests/misc/non_compliant.py
tests/misc/non_compliant.py.exp
+1
-0
1 addition, 0 deletions
tests/misc/non_compliant.py.exp
with
9 additions
and
0 deletions
tests/misc/non_compliant.py
+
8
−
0
View file @
7314ebae
...
@@ -124,3 +124,11 @@ try:
...
@@ -124,3 +124,11 @@ try:
bytearray
(
4
)[
0
:
1
]
=
[
1
,
2
]
bytearray
(
4
)[
0
:
1
]
=
[
1
,
2
]
except
NotImplementedError
:
except
NotImplementedError
:
print
(
'
NotImplementedError
'
)
print
(
'
NotImplementedError
'
)
# can't assign attributes to a function
def
f
():
pass
try
:
f
.
x
=
1
except
AttributeError
:
print
(
'
AttributeError
'
)
This diff is collapsed.
Click to expand it.
tests/misc/non_compliant.py.exp
+
1
−
0
View file @
7314ebae
...
@@ -19,3 +19,4 @@ NotImplementedError
...
@@ -19,3 +19,4 @@ NotImplementedError
b'\x01\x02'
b'\x01\x02'
b'\x01\x00'
b'\x01\x00'
NotImplementedError
NotImplementedError
AttributeError
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment