Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 838236f

Browse files
author
whitequark
committedFeb 27, 2016
Fix tests.
1 parent e421b22 commit 838236f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎artiq/test/lit/inferencer/error_with_self.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def __exit__(self, n1, n2, n3):
1010

1111
def foo():
1212
contextmgr.__enter__(1)
13-
# CHECK-L: ${LINE:+3}: error: cannot unify <instance contextmgr> with int(width='a) while inferring the type for self argument
13+
# CHECK-L: ${LINE:+3}: error: cannot unify <instance contextmgr {}> with int(width='a) while inferring the type for self argument
1414
# CHECK-L: ${LINE:+2}: note: expression of type <instance contextmgr {}>
1515
# CHECK-L: ${LINE:+1}: note: reference to an instance with a method '__enter__(self:int(width='a))->NoneType delay('b)'
1616
with contextmgr():

0 commit comments

Comments
 (0)
Please sign in to comment.