@@ -11,7 +11,7 @@ def foobar(a, b, c):
1111 return a + b + c
1212
1313
14- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
14+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
1515def test_simple ():
1616 a = [1 , 2 , 3 ]
1717 v = debug .format (len (a ))
@@ -23,7 +23,7 @@ def test_simple():
2323 ) == s
2424
2525
26- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
26+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
2727def test_subscription ():
2828 a = {1 : 2 }
2929 v = debug .format (a [1 ])
@@ -34,7 +34,7 @@ def test_subscription():
3434 ) == s
3535
3636
37- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
37+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
3838def test_exotic_types ():
3939 aa = [1 , 2 , 3 ]
4040 v = debug .format (
@@ -83,7 +83,7 @@ def test_exotic_types():
8383 ) == s
8484
8585
86- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
86+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
8787def test_newline ():
8888 v = debug .format (
8989 foobar (1 , 2 , 3 ))
@@ -95,7 +95,7 @@ def test_newline():
9595 ) == s
9696
9797
98- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
98+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
9999def test_trailing_bracket ():
100100 v = debug .format (
101101 foobar (1 , 2 , 3 )
@@ -108,7 +108,7 @@ def test_trailing_bracket():
108108 ) == s
109109
110110
111- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
111+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
112112def test_multiline ():
113113 v = debug .format (
114114 foobar (1 ,
@@ -123,7 +123,7 @@ def test_multiline():
123123 ) == s
124124
125125
126- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
126+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
127127def test_multiline_trailing_bracket ():
128128 v = debug .format (
129129 foobar (1 , 2 , 3
@@ -136,7 +136,7 @@ def test_multiline_trailing_bracket():
136136 ) == s
137137
138138
139- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
139+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
140140@pytest .mark .skipif (sys .version_info < (3 , 6 ), reason = 'kwarg order is not guaranteed for 3.5' )
141141def test_kwargs ():
142142 v = debug .format (
@@ -153,7 +153,7 @@ def test_kwargs():
153153 ) == s
154154
155155
156- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
156+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
157157@pytest .mark .skipif (sys .version_info < (3 , 6 ), reason = 'kwarg order is not guaranteed for 3.5' )
158158def test_kwargs_multiline ():
159159 v = debug .format (
@@ -171,7 +171,7 @@ def test_kwargs_multiline():
171171 ) == s
172172
173173
174- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
174+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
175175def test_multiple_trailing_lines ():
176176 v = debug .format (
177177 foobar (
@@ -184,7 +184,7 @@ def test_multiple_trailing_lines():
184184 ) == s
185185
186186
187- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
187+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
188188def test_very_nested_last_statement ():
189189 def func ():
190190 return debug .format (
@@ -208,7 +208,7 @@ def func():
208208 )
209209
210210
211- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
211+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
212212def test_syntax_warning ():
213213 def func ():
214214 return debug .format (
@@ -261,16 +261,17 @@ def func():
261261 )
262262
263263
264- @pytest .mark .xfail (sys .platform == 'win32' , reason = 'yet unknown windows problem' )
264+ @pytest .mark .xfail (sys .platform == 'win32' , reason = 'as yet unknown windows problem' )
265265def test_await ():
266266 async def foo ():
267267 return 1
268268
269269 async def bar ():
270270 return debug .format (await foo ())
271271
272- loop = asyncio .get_event_loop ()
272+ loop = asyncio .new_event_loop ()
273273 v = loop .run_until_complete (bar ())
274+ loop .close ()
274275 s = re .sub (r':\d{2,}' , ':<line no>' , str (v ))
275276 assert (
276277 'tests/test_expr_render.py:<line no> bar\n '
0 commit comments