Skip to content

Commit 9c954e9

Browse files
author
Sylvain MARIE
committed
Python 2 compat for typing
1 parent 78b0f57 commit 9c954e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pytest_cases/tests/issues/test_issue_python2_str.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
"""
44
from __future__ import unicode_literals
55
import pytest
6-
from typing import Text
76

87

98
@pytest.fixture
109
def my_cool_fixture():
11-
return Text('hello world')
10+
return 'hello world'
1211

1312

1413
@pytest.mark.parametrize('object_id', ['a1', 'b2', 'b3'])

0 commit comments

Comments
 (0)