src/eric7/Testing/Interfaces/PytestRunner.py

branch
eric7-maintenance
changeset 11155
e1843b6efa73
parent 11118
967a88a16a21
parent 11148
15e30f0c76a8
--- a/src/eric7/Testing/Interfaces/PytestRunner.py	Sun Feb 09 15:47:57 2025 +0100
+++ b/src/eric7/Testing/Interfaces/PytestRunner.py	Sat Mar 01 15:52:40 2025 +0100
@@ -176,7 +176,7 @@
             }
         )
 
-    def pytest_runtest_logstart(self, nodeid, location):  # noqa: U100
+    def pytest_runtest_logstart(self, nodeid, location):  # noqa: U-100
         """
         Public method called by pytest before running a test.
 
@@ -268,7 +268,7 @@
 
         self.__writer.write(data)
 
-    def pytest_sessionstart(self, session):  # noqa: U100
+    def pytest_sessionstart(self, session):  # noqa: U-100
         """
         Public method called by pytest before performing collection and
         entering the run test loop.
@@ -279,7 +279,7 @@
         self.__totalStartTime = time.monotonic_ns()
         self.__testsRun = 0
 
-    def pytest_sessionfinish(self, session, exitstatus):  # noqa: U100
+    def pytest_sessionfinish(self, session, exitstatus):  # noqa: U-100
         """
         Public method called by pytest after the whole test run finished.
 
@@ -306,7 +306,7 @@
     plugins.
     """
     try:
-        import pytest  # __IGNORE_WARNING_I10__
+        import pytest  # __IGNORE_WARNING_I-10__
 
         versions = {
             "name": "pytest",
@@ -331,7 +331,7 @@
     Function to determine the defined markers and their descriptions.
     """
     try:
-        import pytest  # __IGNORE_WARNING_I10__
+        import pytest  # __IGNORE_WARNING_I-10__
 
         # --capture=sys needed on Windows to avoid
         # ValueError: saved filedescriptor not valid anymore
@@ -370,4 +370,4 @@
     sys.exit(42)
 
 #
-# eflag: noqa = M801
+# eflag: noqa = M-801

eric ide

mercurial