We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 681f14c + 6a3740e commit afdfde3Copy full SHA for afdfde3
test_echo.py
@@ -139,7 +139,7 @@ def test_echo_attr_module_object_attr(testdir):
139
result = testdir.runpytest('--echo-attr=linecache.cache.__class__')
140
if sys.version_info[0] == 2:
141
match = " linecache.cache.__class__: <type 'dict'>"
142
- elif sys.version_info[0] == 3:
+ else:
143
match = " linecache.cache.__class__: <class 'dict'>"
144
145
result.stdout.fnmatch_lines([match])
0 commit comments