Skip to content

Commit afdfde3

Browse files
authored
Fix for Python 4 (#4)
Fix for Python 4
2 parents 681f14c + 6a3740e commit afdfde3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_echo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_echo_attr_module_object_attr(testdir):
139139
result = testdir.runpytest('--echo-attr=linecache.cache.__class__')
140140
if sys.version_info[0] == 2:
141141
match = " linecache.cache.__class__: <type 'dict'>"
142-
elif sys.version_info[0] == 3:
142+
else:
143143
match = " linecache.cache.__class__: <class 'dict'>"
144144

145145
result.stdout.fnmatch_lines([match])

0 commit comments

Comments
 (0)