Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/831124 )
Change subject: [tests] Display 1 is running on github action ......................................................................
[tests] Display 1 is running on github action
Change-Id: I35dbe0f2f236938db41b245de59f5157a0a14e76 --- M tests/tk_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/tests/tk_tests.py b/tests/tk_tests.py index 430f4e3..47a1071 100755 --- a/tests/tk_tests.py +++ b/tests/tk_tests.py @@ -24,7 +24,7 @@ """Set virtual display environment.""" super().setUpClass() cls.env = os.environ.get('DISPLAY') - os.environ['DISPLAY'] = ':0.0' + os.environ['DISPLAY'] = ':1.0'
@classmethod def tearDownClass(cls):
pywikibot-commits@lists.wikimedia.org