From a823cf5ec1df99846198379f8d47591c7427a7f5 Mon Sep 17 00:00:00 2001
From: Robert Bradshaw <robertwb@math.washington.edu>
Date: Mon, 27 Oct 2008 09:21:52 -0700
Subject: [PATCH] fix for struct construction test

---
 tests/run/pure.pyx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/run/pure.pyx b/tests/run/pure.pyx
index 89688ab0..90a9d727 100644
--- a/tests/run/pure.pyx
+++ b/tests/run/pure.pyx
@@ -80,7 +80,7 @@ MyStruct2 = cython.typedef(MyStruct[2])
 def test_struct(n, x):
     a = cython.declare(MyStruct2)
     a[0] = MyStruct(True, data=MyUnion(n=n))
-    a[1] = MyStruct(is_integral=False, data={x: x})
+    a[1] = MyStruct(is_integral=False, data={'x': x})
     return a[0].data.n, a[1].data.x
 
 import cython as cy
-- 
2.26.2