[pygobject/benzea/tmp] fixup! tests: Add tests for awaitable return of async routines



commit ce7679efd67efeb8a1e2fd9d6b62d16bde3d9581
Author: Benjamin Berg <bberg redhat com>
Date:   Wed Dec 29 00:50:52 2021 +0100

    fixup! tests: Add tests for awaitable return of async routines

 tests/test_async.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/tests/test_async.py b/tests/test_async.py
index 9ee692b2..efbe540a 100644
--- a/tests/test_async.py
+++ b/tests/test_async.py
@@ -2,6 +2,8 @@
 # vim: tabstop=4 shiftwidth=4 expandtab
 
 import sys
+import pytest
+import platform
 import unittest
 
 import asyncio
@@ -151,6 +153,7 @@ class TestAsync(unittest.TestCase):
 
         self.loop.run_until_complete(run())
 
+    @pytest.mark.xfail(platform.python_implementation() == "PyPy", reason="Exception reporting does not work 
in pypy")
     def test_deleting_failed_logs(self):
         f = Gio.file_new_for_path("./")
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]