File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
environment :
2
2
matrix :
3
3
- PYTHON : " C:\\ Python27"
4
- TOX_ENV : " py27 "
4
+ TOX_ENV : " py-test "
5
5
6
6
- PYTHON : " C:\\ Python27-x64"
7
- TOX_ENV : " py27 "
7
+ TOX_ENV : " py-test "
8
8
9
9
- PYTHON : " C:\\ Python33"
10
- TOX_ENV : " py33 "
10
+ TOX_ENV : " py-test "
11
11
12
12
- PYTHON : " C:\\ Python33-x64"
13
- TOX_ENV : " py33 "
13
+ TOX_ENV : " py-test "
14
14
15
15
- PYTHON : " C:\\ Python34"
16
- TOX_ENV : " py34 "
16
+ TOX_ENV : " py-test "
17
17
18
18
- PYTHON : " C:\\ Python34-x64"
19
- TOX_ENV : " py34 "
19
+ TOX_ENV : " py-test "
20
20
21
21
init :
22
22
- " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ def test_root_parameter_creation(monkeypatch):
45
45
setuptools_scm .get_version ()
46
46
47
47
48
- def test_root_parameter_pass_by (monkeypatch ):
49
- assert_root (monkeypatch , '/tmp' )
50
- setuptools_scm .get_version (root = '/tmp' )
48
+ def test_root_parameter_pass_by (monkeypatch , tmpdir ):
49
+ assert_root (monkeypatch , tmpdir )
50
+ setuptools_scm .get_version (root = tmpdir . strpath )
51
51
52
52
53
53
def test_pretended (monkeypatch ):
@@ -56,9 +56,9 @@ def test_pretended(monkeypatch):
56
56
assert setuptools_scm .get_version () == pretense
57
57
58
58
59
- def test_root_relative_to (monkeypatch ):
60
- assert_root (monkeypatch , '/tmp/ alt' )
61
- __file__ = '/tmp/ module/file.py'
59
+ def test_root_relative_to (monkeypatch , tmpdir ):
60
+ assert_root (monkeypatch , tmpdir . join ( ' alt'). strpath )
61
+ __file__ = tmpdir . join ( ' module/file.py'). strpath
62
62
setuptools_scm .get_version (root = '../alt' , relative_to = __file__ )
63
63
64
64
You can’t perform that action at this time.
0 commit comments