We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 067c8aa commit b5d7e7fCopy full SHA for b5d7e7f
1 file changed
python/tests/test_high_level.py
@@ -139,13 +139,13 @@ class A(Expr):
139
def test_class_vars():
140
egraph = EGraph()
141
142
- class A(Expr):
143
- ONE: ClassVar[A]
+ class B(Expr):
+ ONE: ClassVar[B]
144
145
- two = constant("two", A)
+ two = constant("two", B)
146
147
- egraph.register(union(A.ONE).with_(two))
148
- egraph.check(eq(A.ONE).to(two))
+ egraph.register(union(B.ONE).with_(two))
+ egraph.check(eq(B.ONE).to(two))
149
150
151
def test_extract_constant_twice():
0 commit comments