Skip to content

Commit 35d3e29

Browse files
Fix test
1 parent bceaa99 commit 35d3e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/idlelib/idle_test/test_outwin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"Test outwin, coverage 76%."
22

33
from idlelib import outwin
4+
import platform
45
import sys
56
import unittest
67
from test.support import requires
@@ -41,7 +42,7 @@ def test_ispythonsource(self):
4142
self.assertFalse(w.ispythonsource(__file__))
4243

4344
def test_window_title(self):
44-
self.assertEqual(self.window.top.title(), 'Output')
45+
self.assertEqual(self.window.top.title(), 'Output' + ' (%s)' % platform.python_version())
4546

4647
def test_maybesave(self):
4748
w = self.window

0 commit comments

Comments
 (0)